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

MonitorEventHubReceiver(String, String, String, String) 构造函数

定义

初始化 MonitorEventHubReceiver 的新实例。

public MonitorEventHubReceiver (string name, string eventHubNameSpace, string eventHubName, string subscriptionId);
new Azure.ResourceManager.Monitor.Models.MonitorEventHubReceiver : string * string * string * string -> Azure.ResourceManager.Monitor.Models.MonitorEventHubReceiver
Public Sub New (name As String, eventHubNameSpace As String, eventHubName As String, subscriptionId As String)

参数

name
String

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

eventHubNameSpace
String

事件中心命名空间。

eventHubName
String

特定事件中心队列的名称。

subscriptionId
String

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

例外

nameeventHubNameSpaceeventHubNamesubscriptionId 为 null。

适用于