Share via


MessagingFactory.CreateMessageSenderAsync Method

Definition

Overloads

CreateMessageSenderAsync(String)

Asynchronously creates a message sender.

CreateMessageSenderAsync(String, String)

Asynchronously creates a message sender.

CreateMessageSenderAsync(String)

Asynchronously creates a message sender.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSender> CreateMessageSenderAsync (string entityPath);
member this.CreateMessageSenderAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSender>
Public Function CreateMessageSenderAsync (entityPath As String) As Task(Of MessageSender)

Parameters

entityPath
String

The path of the entity.

Returns

A task instance that represents the asynchronous create message sender operation.

Applies to

CreateMessageSenderAsync(String, String)

Asynchronously creates a message sender.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSender> CreateMessageSenderAsync (string transferDestinationEntityPath, string viaEntityPath);
member this.CreateMessageSenderAsync : string * string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSender>
Public Function CreateMessageSenderAsync (transferDestinationEntityPath As String, viaEntityPath As String) As Task(Of MessageSender)

Parameters

transferDestinationEntityPath
String

The transfer destination entity path.

viaEntityPath
String

The via-entity path.

Returns

A task instance that represents the asynchronous create message sender operation.

Applies to