你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusReceiver 构造函数

定义

重载

ServiceBusReceiver()

初始化 类的新实例 ServiceBusReceiver 进行模拟。

ServiceBusReceiver(ServiceBusClient, String, ServiceBusReceiverOptions)

初始化 类的新实例, ServiceBusReceiver 以便与派生类型一起使用。

ServiceBusReceiver(ServiceBusClient, String, String, ServiceBusReceiverOptions)

初始化 类的新实例, ServiceBusReceiver 以便与派生类型一起使用。

ServiceBusReceiver()

Source:
ServiceBusReceiver.cs
Source:
ServiceBusReceiver.cs

初始化 类的新实例 ServiceBusReceiver 进行模拟。

protected ServiceBusReceiver ();
Protected Sub New ()

适用于

ServiceBusReceiver(ServiceBusClient, String, ServiceBusReceiverOptions)

Source:
ServiceBusReceiver.cs
Source:
ServiceBusReceiver.cs

初始化 类的新实例, ServiceBusReceiver 以便与派生类型一起使用。

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)

参数

client
ServiceBusClient

要用于接收方的客户端实例。

queueName
String

要从中接收的队列的名称。

options
ServiceBusReceiverOptions

配置接收方时要使用的选项集。

适用于

ServiceBusReceiver(ServiceBusClient, String, String, ServiceBusReceiverOptions)

Source:
ServiceBusReceiver.cs
Source:
ServiceBusReceiver.cs

初始化 类的新实例, ServiceBusReceiver 以便与派生类型一起使用。

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)

参数

client
ServiceBusClient

要用于接收方的客户端实例。

topicName
String

要为其创建接收方的主题。

subscriptionName
String

要为其创建接收方的订阅。

options
ServiceBusReceiverOptions

配置接收方时要使用的选项集。

适用于