MessagingFactory.OnCreateMessageReceiver(String, ReceiveMode, TimeSpan) Method

Definition

Executes the create message receiver action.

protected virtual Microsoft.ServiceBus.Messaging.MessageReceiver OnCreateMessageReceiver (string entityName, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan timeout);
abstract member OnCreateMessageReceiver : string * Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageReceiver
override this.OnCreateMessageReceiver : string * Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageReceiver

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.

Applies to