SALES: 1-800-867-1380
Collapse the table of content
Expand the table of content
Expand Minimize

NamespaceManager.BeginCreateSubscription Method (SubscriptionDescription, RuleDescription, AsyncCallback, Object)

 

Asynchronous version of CreateSubscription method.

Namespace:   Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

member BeginCreateSubscription : 
        description:SubscriptionDescription *
        ruleDescription:RuleDescription *
        callback:AsyncCallback *
        state:Object -> IAsyncResult

Parameters

description
Type: Microsoft.ServiceBus.Messaging.SubscriptionDescription

The subscription description object.

ruleDescription
Type: Microsoft.ServiceBus.Messaging.RuleDescription

The rule description object.

callback
Type: System.AsyncCallback

An AsyncCallback delegate that references the method to invoke when the operation is complete.

state
Type: System.Object

A user-defined object that contains state information about the asynchronous operation. This object is passed to the EndCreateSubscription delegate when the operation is complete.

Return Value

Type: System.IAsyncResult

An IAsyncResult object that represents the status of the asynchronous create subscription action.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft