次の方法で共有


CallAutomationModelFactory.RecognizeCanceled Method

Definition

Initializes a new instance of RecognizeCanceled.

public static Azure.Communication.CallAutomation.RecognizeCanceled RecognizeCanceled (string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default);
static member RecognizeCanceled : string * string * string * string * Azure.Communication.CallAutomation.ResultInformation -> Azure.Communication.CallAutomation.RecognizeCanceled
Public Shared Function RecognizeCanceled (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) As RecognizeCanceled

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.

resultInformation
ResultInformation

Contains the resulting SIP code, sub-code and message.

Returns

A new RecognizeCanceled instance for mocking.

Applies to