다음을 통해 공유


ServiceBusSender Constructors

Definition

Overloads

ServiceBusSender()

Initializes a new instance of the ServiceBusSender class for mocking.

ServiceBusSender(ServiceBusClient, String)

Initializes a new instance of the ServiceBusSender class for use with derived types.

ServiceBusSender(ServiceBusClient, String, ServiceBusSenderOptions)

Initializes a new instance of the ServiceBusSender class for use with derived types.

ServiceBusSender()

Source:
ServiceBusSender.cs
Source:
ServiceBusSender.cs

Initializes a new instance of the ServiceBusSender class for mocking.

protected ServiceBusSender ();
Protected Sub New ()

Applies to

ServiceBusSender(ServiceBusClient, String)

Source:
ServiceBusSender.cs
Source:
ServiceBusSender.cs

Initializes a new instance of the ServiceBusSender class for use with derived types.

protected ServiceBusSender (Azure.Messaging.ServiceBus.ServiceBusClient client, string queueOrTopicName);
new Azure.Messaging.ServiceBus.ServiceBusSender : Azure.Messaging.ServiceBus.ServiceBusClient * string -> Azure.Messaging.ServiceBus.ServiceBusSender
Protected Sub New (client As ServiceBusClient, queueOrTopicName As String)

Parameters

client
ServiceBusClient

The client instance to use for the sender.

queueOrTopicName
String

The name of the queue or topic to send to.

Applies to

ServiceBusSender(ServiceBusClient, String, ServiceBusSenderOptions)

Source:
ServiceBusSender.cs
Source:
ServiceBusSender.cs

Initializes a new instance of the ServiceBusSender class for use with derived types.

protected ServiceBusSender (Azure.Messaging.ServiceBus.ServiceBusClient client, string queueOrTopicName, Azure.Messaging.ServiceBus.ServiceBusSenderOptions options);
new Azure.Messaging.ServiceBus.ServiceBusSender : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusSenderOptions -> Azure.Messaging.ServiceBus.ServiceBusSender
Protected Sub New (client As ServiceBusClient, queueOrTopicName As String, options As ServiceBusSenderOptions)

Parameters

client
ServiceBusClient

The client instance to use for the sender.

queueOrTopicName
String

The name of the queue or topic to send to.

options
ServiceBusSenderOptions

The set of options to use when configuring the sender.

Applies to