Share via


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);
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
Protected Overridable Function OnCreateMessageReceiver (entityName As String, receiveMode As ReceiveMode, timeout As TimeSpan) As 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