你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventGridModelFactory.MediaLiveEventConnectionRejectedEventData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 MediaLiveEventConnectionRejectedEventData 的新实例。
public static Azure.Messaging.EventGrid.SystemEvents.MediaLiveEventConnectionRejectedEventData MediaLiveEventConnectionRejectedEventData (string ingestUrl = default, string streamId = default, string encoderIp = default, string encoderPort = default, string resultCode = default);
static member MediaLiveEventConnectionRejectedEventData : string * string * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.MediaLiveEventConnectionRejectedEventData
Public Shared Function MediaLiveEventConnectionRejectedEventData (Optional ingestUrl As String = Nothing, Optional streamId As String = Nothing, Optional encoderIp As String = Nothing, Optional encoderPort As String = Nothing, Optional resultCode As String = Nothing) As MediaLiveEventConnectionRejectedEventData
参数
- ingestUrl
- String
获取实时事件提供的引入 URL。
- streamId
- String
获取流 ID。
- encoderIp
- String
获取远程 IP。
- encoderPort
- String
获取远程端口。
- resultCode
- String
获取结果代码。
返回
用于模拟的新 MediaLiveEventConnectionRejectedEventData 实例。