Share via


MessagingProvider.CreateMessageSender Method

Definition

Overloads

CreateMessageSender(ServiceBusClient, String)

Creates a ServiceBusSender that will be used to send messages to the queue or topic.

CreateMessageSender(String, String)

CreateMessageSender(ServiceBusClient, String)

Source:
MessagingProvider.cs

Creates a ServiceBusSender that will be used to send messages to the queue or topic.

protected internal virtual Azure.Messaging.ServiceBus.ServiceBusSender CreateMessageSender (Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath);
abstract member CreateMessageSender : Azure.Messaging.ServiceBus.ServiceBusClient * string -> Azure.Messaging.ServiceBus.ServiceBusSender
override this.CreateMessageSender : Azure.Messaging.ServiceBus.ServiceBusClient * string -> Azure.Messaging.ServiceBus.ServiceBusSender
Protected Friend Overridable Function CreateMessageSender (client As ServiceBusClient, entityPath As String) As ServiceBusSender

Parameters

client
ServiceBusClient

The client that is being used to communicate with the service.

entityPath
String

The path to the Service Bus entity that is being received from.

Returns

A sender that the extension will use to send messages.

Applies to

CreateMessageSender(String, String)

Source:
MessagingProvider.cs
public virtual Microsoft.Azure.ServiceBus.Core.MessageSender CreateMessageSender (string entityPath, string connectionString);
abstract member CreateMessageSender : string * string -> Microsoft.Azure.ServiceBus.Core.MessageSender
override this.CreateMessageSender : string * string -> Microsoft.Azure.ServiceBus.Core.MessageSender
Public Overridable Function CreateMessageSender (entityPath As String, connectionString As String) As MessageSender

Parameters

entityPath
String
connectionString
String

Returns

Applies to