你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MonitorEventHubReceiver(String, String, String, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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。
例外
name
、eventHubNameSpace
、eventHubName
或 subscriptionId
为 null。