Edit

Share via


MessageEventSubscription Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Creates a message event subscription to route messages to the appropriate workflow instance.

public ref class MessageEventSubscription
[System.Serializable]
public class MessageEventSubscription
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class MessageEventSubscription
[<System.Serializable>]
type MessageEventSubscription = class
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type MessageEventSubscription = class
Public Class MessageEventSubscription
Inheritance
MessageEventSubscription
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Constructors

MessageEventSubscription()

Initializes a new instance of the MessageEventSubscription class.

MessageEventSubscription(IComparable, Guid, Guid)

Initializes a new instance of the MessageEventSubscription class using a specified queue name, instance ID, and subscription ID.

MessageEventSubscription(IComparable, Guid, Type, String, Guid)

Initializes a new instance of the MessageEventSubscription class using a specified queue name, instance ID, interface type, operation, and a subscription ID.

MessageEventSubscription(IComparable, Guid, Type, String)

Initializes a new instance of the MessageEventSubscription class using a specified queue name, subscription ID, interface type, and operation name.

MessageEventSubscription(IComparable, Guid)

Initializes a new instance of the MessageEventSubscription class using a specified queue name and instance ID.

Properties

CorrelationProperties

Gets the collection of correlation properties for the message that will map the incoming message together with the HandleExternalEventActivity.

InterfaceType

Gets or sets the interface type.

MethodName

Gets or sets the name of the method.

QueueName

Gets or sets the name of the queue to which this subscription belongs.

SubscriptionId

Gets or sets the unique identifier for this subscription.

WorkflowInstanceId

Gets or sets the InstanceId of the workflow for which this subscription was created.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to