Topic.BeginAddSubscription Method (String, AsyncCallback, Object)
Begins an add subscription operation.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Public Function BeginAddSubscription ( _
name As String, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As Topic
Dim name As String
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginAddSubscription(name, _
callback, state)
public IAsyncResult BeginAddSubscription(
string name,
AsyncCallback callback,
Object state
)
public:
IAsyncResult^ BeginAddSubscription(
String^ name,
AsyncCallback^ callback,
Object^ state
)
member BeginAddSubscription :
name:string *
callback:AsyncCallback *
state:Object -> IAsyncResult
public function BeginAddSubscription(
name : String,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
- name
Type: System.String
Name of the subscription.
- callback
Type: System.AsyncCallback
The callback.
- state
Type: System.Object
The state.
Return Value
Type: System.IAsyncResult
.