Share via


CallAutomationModelFactory.PlayCanceled Method

Definition

Initializes a new instance of PlayCanceled.

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

Parameters

callConnectionId
String

Call connection ID.

serverCallId
String

Server call ID.

correlationId
String

Correlation ID for event to call correlation.

operationContext
String

Used by customers when calling mid-call actions to correlate the request to the response event.

Returns

A new PlayCanceled instance for mocking.

Applies to