MessagingProvider.CreateMessageSender Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET