Share via


CallAutomationModelFactory.MediaStreamingFailed Method

Definition

Initializes a new instance of MediaStreamingFailed.

public static Azure.Communication.CallAutomation.MediaStreamingFailed MediaStreamingFailed (string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default, Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = default);
static member MediaStreamingFailed : string * string * string * string * Azure.Communication.CallAutomation.ResultInformation * Azure.Communication.CallAutomation.MediaStreamingUpdate -> Azure.Communication.CallAutomation.MediaStreamingFailed
Public Shared Function MediaStreamingFailed (Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional correlationId As String = Nothing, Optional operationContext As String = Nothing, Optional resultInformation As ResultInformation = Nothing, Optional mediaStreamingUpdate As MediaStreamingUpdate = Nothing) As MediaStreamingFailed

Parameters

callConnectionId
String

Call connection ID.

serverCallId
String

Server call ID.

correlationId
String

Correlation ID for event to call correlation. Also called ChainId for skype chain ID.

operationContext
String

Used by customers when calling answerCall action to correlate the request to the response event.

resultInformation
ResultInformation

Contains the resulting SIP code/sub-code and message from NGC services.

mediaStreamingUpdate
MediaStreamingUpdate

Defines the result for MediaStreamingUpdate with the current status and the details about the status.

Returns

A new MediaStreamingFailed instance for mocking.

Applies to