MessagingFactory.OnBeginCreateMessageReceiver(String, ReceiveMode, TimeSpan, AsyncCallback, Object) 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);
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