CallAutomationModelFactory.TranscriptionFailed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TranscriptionFailed.
public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed (string operationContext = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = default, string callConnectionId = default, string serverCallId = default, string correlationId = default);
static member TranscriptionFailed : string * Azure.Communication.CallAutomation.ResultInformation * Azure.Communication.CallAutomation.TranscriptionUpdate * string * string * string -> Azure.Communication.CallAutomation.TranscriptionFailed
Public Shared Function TranscriptionFailed (Optional operationContext As String = Nothing, Optional resultInformation As ResultInformation = Nothing, Optional transcriptionUpdate As TranscriptionUpdate = Nothing, Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional correlationId As String = Nothing) As TranscriptionFailed
Parameters
- 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.
- transcriptionUpdate
- TranscriptionUpdate
Defines the result for TranscriptionUpdate with the current status and the details about the status.
- 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.
Returns
A new TranscriptionFailed instance for mocking.
Applies to
Azure SDK for .NET