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

EventHubReceiver 构造函数

定义

重载

EventHubReceiver()

初始化 EventHubReceiver 类的新实例。

EventHubReceiver(String, String, String, String, Nullable<Boolean>, String)

初始化 EventHubReceiver 类的新实例。

EventHubReceiver()

初始化 EventHubReceiver 类的新实例。

public EventHubReceiver ();
Public Sub New ()

适用于

EventHubReceiver(String, String, String, String, Nullable<Boolean>, String)

初始化 EventHubReceiver 类的新实例。

public EventHubReceiver (string name, string eventHubNameSpace, string eventHubName, string subscriptionId, bool? useCommonAlertSchema = default, string tenantId = default);
new Microsoft.Azure.Management.Monitor.Models.EventHubReceiver : string * string * string * string * Nullable<bool> * string -> Microsoft.Azure.Management.Monitor.Models.EventHubReceiver
Public Sub New (name As String, eventHubNameSpace As String, eventHubName As String, subscriptionId As String, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional tenantId As String = Nothing)

参数

name
String

事件中心接收器的名称。 名称在操作组内的所有接收方中必须是唯一的。

eventHubNameSpace
String

事件中心命名空间

eventHubName
String

特定事件中心队列的名称

subscriptionId
String

包含此事件中心的订阅的 ID

useCommonAlertSchema
Nullable<Boolean>

指示是否使用通用警报架构。

tenantId
String

包含此事件中心的订阅的租户 ID

适用于