Partager via


CommandActivity.RecognitionResult Property

Gets the recognition result that triggered the command. A RecognitionResult object represents the result of the recognition engine on audio input.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Property RecognitionResult As RecognitionResult
    Get
    Friend Set
'Usage
Dim instance As CommandActivity
Dim value As RecognitionResult

value = instance.RecognitionResult
public RecognitionResult RecognitionResult { get; internal set; }

Property Value

Type: Microsoft.Speech.Recognition.RecognitionResult

Exceptions

Exception Condition
InvalidOperationException

Thrown if trying to access the value at design time.

Remarks

This property is set when the command is triggered.

See Also

Reference

CommandActivity Class

CommandActivity Members

Microsoft.Rtc.Workflow.Activities Namespace