Share via


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

 

Asynchronous version of CreateSubscription method.

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

Syntax

public IAsyncResult BeginCreateSubscription(
    string topicPath,
    string name,
    RuleDescription ruleDescription,
    AsyncCallback callback,
    object state
)
public:
IAsyncResult^ BeginCreateSubscription(
    String^ topicPath,
    String^ name,
    RuleDescription^ ruleDescription,
    AsyncCallback^ callback,
    Object^ state
)
member BeginCreateSubscription : 
        topicPath:string *
        name:string *
        ruleDescription:RuleDescription *
        callback:AsyncCallback *
        state:Object -> IAsyncResult
Public Function BeginCreateSubscription (
    topicPath As String,
    name As String,
    ruleDescription As RuleDescription,
    callback As AsyncCallback,
    state As Object
) As IAsyncResult

Parameters

  • topicPath
    Type: System.String

    The topic path relative to the service namespace base address.

  • 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.

See Also

BeginCreateSubscription Overload
NamespaceManager Class
Microsoft.ServiceBus Namespace

Return to top