共用方式為


EventGridModelFactory.MediaLiveEventConnectionRejectedEventData Method

Definition

Initializes a new instance of 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

Parameters

ingestUrl
String

Gets the ingest URL provided by the live event.

streamId
String

Gets the stream Id.

encoderIp
String

Gets the remote IP.

encoderPort
String

Gets the remote port.

resultCode
String

Gets the result code.

Returns

A new MediaLiveEventConnectionRejectedEventData instance for mocking.

Applies to