Partager via


CallAutomationModelFactory.RecognizeFailed Method

Definition

Overloads

RecognizeFailed(String, String, String, String, ResultInformation)

Initializes a new instance of RecognizeFailed.

RecognizeFailed(String, String, String, String, ResultInformation, Nullable<Int32>)

Initializes a new instance of RecognizeFailed.

RecognizeFailed(String, String, String, String, ResultInformation)

Source:
CallAutomationModelFactory.cs

Initializes a new instance of RecognizeFailed.

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

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 RecognizeFailed instance for mocking.

Applies to

RecognizeFailed(String, String, String, String, ResultInformation, Nullable<Int32>)

Source:
CallAutomationModelFactory.cs

Initializes a new instance of RecognizeFailed.

public static Azure.Communication.CallAutomation.RecognizeFailed RecognizeFailed (string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default, int? failedPlaySourceIndex = default);
static member RecognizeFailed : string * string * string * string * Azure.Communication.CallAutomation.ResultInformation * Nullable<int> -> Azure.Communication.CallAutomation.RecognizeFailed
Public Shared Function RecognizeFailed (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 failedPlaySourceIndex As Nullable(Of Integer) = Nothing) As RecognizeFailed

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 mid-call actions to correlate the request to the response event.

resultInformation
ResultInformation

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

failedPlaySourceIndex
Nullable<Int32>

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

Returns

A new RecognizeFailed instance for mocking.

Applies to