MessageEventSubscription Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
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.
- 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.
- operation
- String
The event name on the interface that represents the messaging operation for which you are creating a subscription.