CallAutomationModelFactory.RecognizeCompleted 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 RecognizeCompletedInternal.
public static Azure.Communication.CallAutomation.RecognizeCompleted RecognizeCompleted (string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default, Azure.Communication.CallAutomation.CallMediaRecognitionType recognitionType = default, Azure.Communication.CallAutomation.RecognizeResult recognizeResult = default);
static member RecognizeCompleted : string * string * string * string * Azure.Communication.CallAutomation.ResultInformation * Azure.Communication.CallAutomation.CallMediaRecognitionType * Azure.Communication.CallAutomation.RecognizeResult -> Azure.Communication.CallAutomation.RecognizeCompleted
Public Shared Function RecognizeCompleted (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 recognitionType As CallMediaRecognitionType = Nothing, Optional recognizeResult As RecognizeResult = Nothing) As RecognizeCompleted
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 from NGC services.
- recognitionType
- CallMediaRecognitionType
Determines the sub-type of the recognize operation. In case of cancel operation the this field is not set and is returned empty
- recognizeResult
- RecognizeResult
Defines the result for general recognizeResult.
Returns
A new RecognizeCompleted instance for mocking.
Applies to
Azure SDK for .NET