Partilhar via


SpeechQuestionAnswerActivity Members

Include Protected Members
Include Inherited Members

Defines an activity that plays a single spoken prompt and performs a recognition on the response.

The SpeechQuestionAnswerActivity type exposes the following members.

Constructors

  Name Description
Public method SpeechQuestionAnswerActivity() Creates a new instance.
Public method SpeechQuestionAnswerActivity(String) Creates a new instance with the specified name.

Top

Properties

  Name Description
Public property CanBargeIn Gets or sets whether this prompt can be interrupted by the user. When True, recognition begins with the start of the prompt playback. When False, recognition begins after the prompt has finished playing. The default is True.
Public property CompleteTimeout Gets or sets the length of silence required following user speech before the speech recognizer finalizes a result. The default is 0.5 seconds.
Public property Description (inherited from Activity)
Protected property DesignMode (inherited from DependencyObject)
Public property DtmfGrammars A collection of DTMF grammars that are active during this activity.
Public property Enabled (inherited from Activity)
Public property ExecutionResult (inherited from Activity)
Public property ExecutionStatus (inherited from Activity)
Public property ExpectedDtmfInputs An array of strings that are the expected DTMF inputs for this activity. A DTMF grammar object is automatically created using these strings.
Public property ExpectedSpeechInputs An array of strings that are the expected speech inputs for this activity. A speech grammar object is automatically created using these strings.
Public property Grammars Gets the collection of speech grammars that will be active during recognition for this SpeechQuestionAnswerActivity.
Public property IncompleteTimeout Gets or sets the duration of silence at the end of an utterance, after which recognition is considered finished. The default is 1 second.
Public property InitialSilenceTimeout Gets the length of time after the prompt has completed that the user has to provide input, or the activity will play the prompt again.
Public property IsDataTrackingEnabled Gets or sets a boolean value that specifies if the activity prompt and recognition result are tracked by the TrackingDataWorkflowRuntimeService class.
Public property IsDynamicActivity (inherited from Activity)
Public property MainPrompt Gets or sets the prompt that plays when the activity is executed.
Public property Name (inherited from Activity)
Public property Parent (inherited from Activity)
Protected property ParentDependencyObject (inherited from DependencyObject)
Public property PreFlushDtmf Gets or sets whether the DTMF buffer is flushed before recognition starts. The default is False. When False, users can type ahead. If True, any buffered digits are lost.
Public property Prompts Gets a collection of all the prompts that can be played by the SpeechQuestionAnswerActivity.
Public property QualifiedName (inherited from Activity)
Public property RecognitionResult Gets the recognition result. This will be null unless there was a valid recognition.
Public property Site (inherited from DependencyObject)
Public property UserData (inherited from DependencyObject)
Protected property WorkflowInstanceId (inherited from Activity)

Top

Methods

  Name Description
Public method AddHandler (inherited from DependencyObject)
Protected method Cancel (inherited from Activity)
Public method Clone (inherited from Activity)
Public method Dispose() (inherited from DependencyObject)
Protected method Dispose(Boolean) (inherited from DependencyObject)
Public method Equals (inherited from Object)
Protected method Execute (inherited from Activity)
Protected method Finalize (inherited from DependencyObject)
Public method GetActivityByName(String) (inherited from Activity)
Public method GetActivityByName(String, Boolean) (inherited from Activity)
Public method GetBinding (inherited from DependencyObject)
Protected method GetBoundValue (inherited from DependencyObject)
Public method GetHashCode (inherited from Object)
Protected method GetInvocationList<T> (inherited from DependencyObject)
Public method GetType (inherited from Object)
Public method GetValue (inherited from DependencyObject)
Public method GetValueBase (inherited from DependencyObject)
Protected method HandleFault (inherited from Activity)
Protected method Initialize (inherited from Activity)
Protected method InitializeProperties (inherited from DependencyObject)
Protected method Invoke<T>(EventHandler<T>, T) (inherited from Activity)
Protected method Invoke<T>(IActivityEventListener<T>, T) (inherited from Activity)
Public method IsBindingSet (inherited from DependencyObject)
Protected method MemberwiseClone (inherited from Object)
Public method MetaEquals (inherited from DependencyObject)
Protected method OnActivityExecutionContextLoad (inherited from Activity)
Protected method OnActivityExecutionContextUnload (inherited from Activity)
Protected method OnClosed (inherited from Activity)
Protected method RaiseEvent (inherited from Activity)
Protected method RaiseGenericEvent<T> (inherited from Activity)
Public method RegisterForStatusChange (inherited from Activity)
Public method RemoveHandler (inherited from DependencyObject)
Public method RemoveProperty (inherited from DependencyObject)
Public method Save(Stream) (inherited from Activity)
Public method Save(Stream, IFormatter) (inherited from Activity)
Public method SetBinding (inherited from DependencyObject)
Protected method SetBoundValue (inherited from DependencyObject)
Protected method SetReadOnlyPropertyValue (inherited from DependencyObject)
Public method SetValue (inherited from DependencyObject)
Public method SetValueBase (inherited from DependencyObject)
Public method ToString (inherited from Activity)
Protected method TrackData(Object) (inherited from Activity)
Protected method TrackData(String, Object) (inherited from Activity)
Protected method Uninitialize (inherited from Activity)
Public method UnregisterForStatusChange (inherited from Activity)

Top

Events

  Name Description
Public event Canceling (inherited from Activity)
Public event Closed (inherited from Activity)
Public event Compensating (inherited from Activity)
Public event Executing (inherited from Activity)
Public event Faulting (inherited from Activity)
Public event StatusChanged (inherited from Activity)
Public event TurnStarting TurnStarting is raised before the prompt is played. Note that for SpeechQuestionAnswerActivity activity the PromptType property is always PromptType.Main.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IActivityEventListener<QueueEventArgs>.OnEvent
Explicit interface implemetationPrivate event IComponent.Disposed (inherited from DependencyObject)
Explicit interface implemetationPrivate property IInstanceDependencyContainer.InstanceDependencyProperties

Top

See Also

Reference

SpeechQuestionAnswerActivity Class

Microsoft.Rtc.Workflow.Activities Namespace