Share via


CallAutomationModelFactory.CallDisconnected Method

Definition

Initializes a new instance of CallDisconnected.

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

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 to set the context for creating a new call. This property will be null for answering a call.

Returns

A new CallConnected instance for mocking.

Applies to