MessagingFactory.OnCreateMessageReceiver Method

Definition

Executes the create message receiver action.

protected virtual Microsoft.ServiceBus.Messaging.MessageReceiver OnCreateMessageReceiver (string entityName, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan timeout);
Parameters
entityName
String

The name of the entity.

receiveMode
ReceiveMode

The message receive mode.

timeout
TimeSpan

The timeout.

Returns

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