MessagingFactory.OnBeginCreateMessageReceiver(String, ReceiveMode, TimeSpan, AsyncCallback, Object) 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);
abstract member OnBeginCreateMessageReceiver : string * Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan * AsyncCallback * obj -> IAsyncResult
Parameters
entityName
String String

The name of the entity.

receiveMode
ReceiveMode ReceiveMode

The message receive mode.

timeout
TimeSpan TimeSpan

The wait time before the operation times out.

callback
AsyncCallback AsyncCallback

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

state
Object 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