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

MessagingFactory.OnCreateMessageSender MessagingFactory.OnCreateMessageSender MessagingFactory.OnCreateMessageSender Method

Definition

Overloads

OnCreateMessageSender(String, TimeSpan) OnCreateMessageSender(String, TimeSpan) OnCreateMessageSender(String, TimeSpan)

Executes the create message sender action.

OnCreateMessageSender(String, String, TimeSpan) OnCreateMessageSender(String, String, TimeSpan) OnCreateMessageSender(String, String, TimeSpan)

Executes the create message sender action.

OnCreateMessageSender(String, TimeSpan) OnCreateMessageSender(String, TimeSpan) OnCreateMessageSender(String, TimeSpan)

Executes the create message sender action.

protected virtual Microsoft.ServiceBus.Messaging.MessageSender OnCreateMessageSender (string entityName, TimeSpan timeout);
abstract member OnCreateMessageSender : string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
override this.OnCreateMessageSender : string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
Protected Overridable Function OnCreateMessageSender (entityName As String, timeout As TimeSpan) As MessageSender

Parameters

entityName
String String String

The name of the entity.

timeout
TimeSpan TimeSpan TimeSpan

The timeout.

Returns

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

OnCreateMessageSender(String, String, TimeSpan) OnCreateMessageSender(String, String, TimeSpan) OnCreateMessageSender(String, String, TimeSpan)

Executes the create message sender action.

protected virtual Microsoft.ServiceBus.Messaging.MessageSender OnCreateMessageSender (string transferDestinationEntityName, string viaEntityName, TimeSpan timeout);
abstract member OnCreateMessageSender : string * string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
override this.OnCreateMessageSender : string * string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
Protected Overridable Function OnCreateMessageSender (transferDestinationEntityName As String, viaEntityName As String, timeout As TimeSpan) As MessageSender

Parameters

transferDestinationEntityName
String String String

The name of the transfer destination entity.

viaEntityName
String String String

The via-entity name.

timeout
TimeSpan TimeSpan TimeSpan

The message timeout.

Returns

Applies to