Udostępnij za pośrednictwem


MessagingFactory.CreateMessageSender Method

Definition

Overloads

CreateMessageSender(String, String)

Creates a message sender.

CreateMessageSender(String)

Creates a message sender.

CreateMessageSender(String, String)

Creates a message sender.

public Microsoft.ServiceBus.Messaging.MessageSender CreateMessageSender (string transferDestinationEntityPath, string viaEntityPath);
member this.CreateMessageSender : string * string -> Microsoft.ServiceBus.Messaging.MessageSender
Public Function CreateMessageSender (transferDestinationEntityPath As String, viaEntityPath As String) As MessageSender

Parameters

transferDestinationEntityPath
String

The transfer destination entity path.

viaEntityPath
String

The via-entity path.

Returns

The created MessageSender object.

Applies to

CreateMessageSender(String)

Creates a message sender.

public Microsoft.ServiceBus.Messaging.MessageSender CreateMessageSender (string entityPath);
member this.CreateMessageSender : string -> Microsoft.ServiceBus.Messaging.MessageSender
Public Function CreateMessageSender (entityPath As String) As MessageSender

Parameters

entityPath
String

The path of the entity.

Returns

The newly created message sender.

Applies to