您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

MessagingFactory.OnCreateMessageReceiver(String, ReceiveMode, TimeSpan) 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 String

The name of the entity.

receiveMode
ReceiveMode ReceiveMode

The message receive mode.

timeout
TimeSpan TimeSpan

The timeout.

Returns

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

Applies to