SubscriptionClient.BeginCreateReceiver Method (ReceiveMode, AsyncCallback, Object)

Asynchronous version of the CreateReceiver() method.

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


Public Function BeginCreateReceiver ( _
    receiveMode As ReceiveMode, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
Dim instance As SubscriptionClient
Dim receiveMode As ReceiveMode
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginCreateReceiver(receiveMode, _
    callback, state)
public IAsyncResult BeginCreateReceiver(
    ReceiveMode receiveMode,
    AsyncCallback callback,
    Object state
virtual IAsyncResult^ BeginCreateReceiver(
    ReceiveMode receiveMode, 
    AsyncCallback^ callback, 
    Object^ state
) sealed
abstract BeginCreateReceiver : 
        receiveMode:ReceiveMode * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
override BeginCreateReceiver : 
        receiveMode:ReceiveMode * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
public final function BeginCreateReceiver(
    receiveMode : ReceiveMode, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult


Return Value

Type: System.IAsyncResult
An IAsyncResult object that references the asynchronous CreateReceiver().

See Also


SubscriptionClient Class

BeginCreateReceiver Overload

Microsoft.ServiceBus.Messaging Namespace