[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The Subscription class defines the subscription objects which are published when an application subscribes to event types.

Namespace: Microsoft.WebSolutionsPlatform.Event
Assembly: WspEvent (WspEvent)

Syntax

Visual Basic (Declaration)
Public Class Subscription _
	Inherits Event
C#
public class Subscription : Event
C++
public ref class Subscription : public Event

Methods

IconTypeDescription
Deserialize(Byte[]())
Deserializes the event
Dispose()
Disposes of the object.
Dispose(Boolean)
Disposes of the object.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Destructor for the Event class.
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData(SerializationData)
Used for event serialization.
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
Serialize()
Serializes the event and puts it in the SerializedEvent property
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
SubscriptionNew()
Base constructor to create a new subscription event

Properties

IconTypeDescription
EventName
Friendly name of the event
EventPublisher
Friendly name of the event
EventTime
UTC time in ticks of when the event is published
EventType
Type of the event
EventVersion
Version of the event
InRouterName
Router the event was passed from
LocalOnly
Register for the event only on the local machine
OriginatingRouterName
Router that the event originated from
SerializedEvent
Serialized version of the event
Subscribe
Subscribe is true; Unsubscribe is false
SubscriptionEventType
Event registering/unregistering for
SubscriptionId
ID for subscription

Inheritance Hierarchy

System.Object
  Microsoft.WebSolutionsPlatform.Event.Event
    Microsoft.WebSolutionsPlatform.Event.Subscription