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)

Syntax

'Declaration
Public Function BeginCreateReceiver ( _
    receiveMode As ReceiveMode, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
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
)
public:
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

Parameters

Return Value

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

See Also

Reference

SubscriptionClient Class

BeginCreateReceiver Overload

Microsoft.ServiceBus.Messaging Namespace