MessageEventSubscription Constructors

Definition

Initializes a new instance of the MessageEventSubscription class.

Overloads

MessageEventSubscription()

Initializes a new instance of the MessageEventSubscription class.

MessageEventSubscription(IComparable, Guid)

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

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)

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

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()

Initializes a new instance of the MessageEventSubscription class.

protected:
 MessageEventSubscription();
protected MessageEventSubscription ();
Protected Sub New ()

Applies to

MessageEventSubscription(IComparable, Guid)

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

public:
 MessageEventSubscription(IComparable ^ queueName, Guid instanceId);
public MessageEventSubscription (IComparable queueName, Guid instanceId);
new System.Workflow.Activities.MessageEventSubscription : IComparable * Guid -> System.Workflow.Activities.MessageEventSubscription
Public Sub New (queueName As IComparable, instanceId As Guid)

Parameters

queueName
IComparable

The friendly name that identifies the queue.

instanceId
Guid

The Guid that indicates the workflow instance.

Applies to

MessageEventSubscription(IComparable, Guid, Guid)

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

public:
 MessageEventSubscription(IComparable ^ queueName, Guid instanceId, Guid subscriptionId);
public MessageEventSubscription (IComparable queueName, Guid instanceId, Guid subscriptionId);
new System.Workflow.Activities.MessageEventSubscription : IComparable * Guid * Guid -> System.Workflow.Activities.MessageEventSubscription
Public Sub New (queueName As IComparable, instanceId As Guid, subscriptionId As Guid)

Parameters

queueName
IComparable

The friendly name that identifies the queue.

instanceId
Guid

The Guid that indicates the workflow instance.

subscriptionId
Guid

The Guid that indicates the subscription identifier.

Applies to

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.

public:
 MessageEventSubscription(IComparable ^ queueName, Guid subscriptionId, Type ^ interfaceType, System::String ^ operation);
public MessageEventSubscription (IComparable queueName, Guid subscriptionId, Type interfaceType, string operation);
new System.Workflow.Activities.MessageEventSubscription : IComparable * Guid * Type * string -> System.Workflow.Activities.MessageEventSubscription
Public Sub New (queueName As IComparable, subscriptionId As Guid, interfaceType As Type, operation As String)

Parameters

queueName
IComparable

The friendly name that identifies the queue.

subscriptionId
Guid

The Guid that indicates the subscription identifier.

interfaceType
Type

The Type of the interface.

operation
String

The event name on the interface that represents the messaging operation for which you are creating a subscription.

Applies to

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.

public:
 MessageEventSubscription(IComparable ^ queueName, Guid instanceId, Type ^ interfaceType, System::String ^ operation, Guid subscriptionId);
public MessageEventSubscription (IComparable queueName, Guid instanceId, Type interfaceType, string operation, Guid subscriptionId);
new System.Workflow.Activities.MessageEventSubscription : IComparable * Guid * Type * string * Guid -> System.Workflow.Activities.MessageEventSubscription
Public Sub New (queueName As IComparable, instanceId As Guid, interfaceType As Type, operation As String, subscriptionId As Guid)

Parameters

queueName
IComparable

The friendly name that identifies the queue.

instanceId
Guid

The Guid that indicates the workflow instance.

interfaceType
Type

The Type of the interface.

operation
String

The event name on the interface that represents the messaging operation for which you are creating a subscription.

subscriptionId
Guid

The Guid that indicates the subscription identifier.

Applies to