MessagingFactory.OnBeginCreateMessageReceiver Method

Definition

Executes the begin create message receiver action.

protected abstract IAsyncResult OnBeginCreateMessageReceiver (string entityName, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginCreateMessageReceiver : string * Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginCreateMessageReceiver (entityName As String, receiveMode As ReceiveMode, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

entityName
String

The name of the entity.

receiveMode
ReceiveMode

The message receive mode.

timeout
TimeSpan

The wait time before the operation times out.

callback
AsyncCallback

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

state
Object

A user-defined object that contains information about the receive operation.

Returns

An IAsyncResult object that references the asynchronous create message receiver action.

Applies to