ServiceBusReceiver Constructors

Definition

Overloads

ServiceBusReceiver()

Initializes a new instance of the ServiceBusReceiver class for mocking.

ServiceBusReceiver(ServiceBusClient, String, ServiceBusReceiverOptions)

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

ServiceBusReceiver(ServiceBusClient, String, String, ServiceBusReceiverOptions)

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

ServiceBusReceiver()

Source:
ServiceBusReceiver.cs
Source:
ServiceBusReceiver.cs

Initializes a new instance of the ServiceBusReceiver class for mocking.

protected ServiceBusReceiver ();
Protected Sub New ()

Applies to

ServiceBusReceiver(ServiceBusClient, String, ServiceBusReceiverOptions)

Source:
ServiceBusReceiver.cs
Source:
ServiceBusReceiver.cs

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

protected ServiceBusReceiver (Azure.Messaging.ServiceBus.ServiceBusClient client, string queueName, Azure.Messaging.ServiceBus.ServiceBusReceiverOptions options);
new Azure.Messaging.ServiceBus.ServiceBusReceiver : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusReceiverOptions -> Azure.Messaging.ServiceBus.ServiceBusReceiver
Protected Sub New (client As ServiceBusClient, queueName As String, options As ServiceBusReceiverOptions)

Parameters

client
ServiceBusClient

The client instance to use for the receiver.

queueName
String

The name of the queue to receive from.

options
ServiceBusReceiverOptions

The set of options to use when configuring the receiver.

Applies to

ServiceBusReceiver(ServiceBusClient, String, String, ServiceBusReceiverOptions)

Source:
ServiceBusReceiver.cs
Source:
ServiceBusReceiver.cs

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

protected ServiceBusReceiver (Azure.Messaging.ServiceBus.ServiceBusClient client, string topicName, string subscriptionName, Azure.Messaging.ServiceBus.ServiceBusReceiverOptions options);
new Azure.Messaging.ServiceBus.ServiceBusReceiver : Azure.Messaging.ServiceBus.ServiceBusClient * string * string * Azure.Messaging.ServiceBus.ServiceBusReceiverOptions -> Azure.Messaging.ServiceBus.ServiceBusReceiver
Protected Sub New (client As ServiceBusClient, topicName As String, subscriptionName As String, options As ServiceBusReceiverOptions)

Parameters

client
ServiceBusClient

The client instance to use for the receiver.

topicName
String

The topic to create a receiver for.

subscriptionName
String

The subscription to create a receiver for.

options
ServiceBusReceiverOptions

The set of options to use when configuring the receiver.

Applies to