QuestionAnswerActivity Members
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Defines an activity that plays a single prompt and performs a recognition on the response. A QuestionAnswerActivity repeats itself if the user stays silent or mumbles.
The following tables list the members exposed by the QuestionAnswerActivity type.
Public Constructors
?? | Name | Description |
---|---|---|
QuestionAnswerActivity | Overloaded. Initializes a new instance of the QuestionAnswerActivity class. |
Top
Public Fields
?? | Name | Description |
---|---|---|
CanBargeInProperty | The dependency property for CanBargeIn. | |
CompleteTimeoutProperty | The dependency property for CompleteTimeout. | |
IncompleteTimeoutProperty | The dependency property for IncompleteTimeout. | |
InitialSilenceTimeoutProperty | The dependency property for InitialSilenceTimeout. | |
PreFlushDtmfProperty | The dependency property for PreFlushDtmf. | |
SpeechDetectionModeProperty | The dependency property for SpeechDetectionMode. |
Top
Public Properties
(see also Protected Properties )
?? | Name | Description |
---|---|---|
Activities?? | (inherited from CompositeActivity ) | |
Answers | Gets the collection of semantic items that this QuestionAnswerActivity answers. | |
CanBargeIn | Gets or sets whether this prompt can be interrupted when the user speaks. | |
CompleteTimeout | Gets or sets the length of silent time following user speech before the speech recognizer finalizes a result. | |
Confirms | Gets the collection of semantic items that this QuestionAnswerActivity confirms. | |
Description?? | (inherited from Activity ) | |
DtmfGrammars | Gets the collection of DTMF grammars that are active during recognition for this QuestionAnswerActivity. | |
Enabled?? | (inherited from Activity ) | |
EnabledActivities?? | (inherited from CompositeActivity ) | |
ExecutionResult?? | (inherited from Activity ) | |
ExecutionStatus?? | (inherited from Activity ) | |
Grammars | Gets the collection of speech grammars that are active during recognition for this QuestionAnswerActivity. | |
IncompleteTimeout | Gets or sets the length of silent time after which recognition ends if the user remains silent. | |
InitialSilenceTimeout | Gets or sets the length of silent time before the start of a user's utterance. | |
IsDynamicActivity?? | (inherited from Activity ) | |
LogResults?? | Gets or sets whether the data (prompts, grammars, and results) associated with this SpeechCompositeActivity should be logged.(inherited from SpeechCompositeActivity) | |
MainPrompt | Gets the main prompt. | |
Name?? | (inherited from Activity ) | |
Parent?? | (inherited from Activity ) | |
PreFlushDtmf | Gets or sets whether the DTMF buffer is flushed before recognition starts. | |
Prompts | Gets all the prompts that can be played by the QuestionAnswerActivity. | |
QualifiedName?? | (inherited from Activity ) | |
RecognitionResult | Gets the recognition result. | |
Site?? | (inherited from DependencyObject ) | |
SpeechDetectionMode | Gets or sets whether speech detection occurs by sound or by grammar. | |
UserData?? | (inherited from DependencyObject ) |
Top
Protected Properties
?? | Name | Description |
---|---|---|
CanModifyActivities?? | (inherited from CompositeActivity ) | |
DesignMode?? | (inherited from DependencyObject ) | |
ParentDependencyObject?? | (inherited from DependencyObject ) | |
Workflow?? | Gets the workflow in which this SpeechCompositeActivity runs.(inherited from SpeechCompositeActivity) | |
WorkflowInstanceId?? | (inherited from Activity ) |
Top
Public Methods
(see also Protected Methods )
?? | Name | Description |
---|---|---|
Accept | Accepts the semantic items in the Confirms collection. | |
AddHandler?? | (inherited from DependencyObject ) | |
Clone?? | (inherited from Activity ) | |
Deny | Denies the semantic items in the Confirms collection. | |
Dispose?? | Overloaded. (inherited from CompositeActivity ) | |
Equals?? | Overloaded. (inherited from Object ) | |
GetActivityByName?? | Overloaded. (inherited from Activity ) | |
GetBinding?? | (inherited from DependencyObject ) | |
GetHashCode?? | (inherited from Object ) | |
GetType?? | (inherited from Object ) | |
GetValue?? | Overloaded. (inherited from SpeechCompositeActivity ) | |
GetValueBase?? | (inherited from DependencyObject ) | |
IsBindingSet?? | (inherited from DependencyObject ) | |
Load?? | Overloaded. (inherited from Activity ) | |
MetaEquals?? | (inherited from DependencyObject ) | |
ReferenceEquals?? | (inherited from Object ) | |
RegisterForStatusChange?? | (inherited from Activity ) | |
RemoveHandler?? | (inherited from DependencyObject ) | |
RemoveProperty?? | (inherited from DependencyObject ) | |
Save?? | Overloaded. (inherited from Activity ) | |
SetBinding?? | Overloaded. (inherited from SpeechCompositeActivity ) | |
SetValue?? | Overloaded. (inherited from SpeechCompositeActivity ) | |
SetValueBase?? | (inherited from DependencyObject ) | |
ToString?? | (inherited from Activity ) | |
UnregisterForStatusChange?? | (inherited from Activity ) |
Top
Protected Methods
?? | Name | Description |
---|---|---|
ApplyWorkflowChanges?? | (inherited from CompositeActivity ) | |
CanBeExecuted | Determines whether this QuestionAnswerActivity is active when it is run in a FormFillingDialogActivity. | |
Cancel?? | (inherited from SpeechCompositeActivity ) | |
CancelCore | Overridden. Cancels the execution of the QuestionAnswerActivity. | |
Close?? | (inherited from SpeechCompositeActivity ) | |
DeleteQueue?? | (inherited from SpeechCompositeActivity ) | |
Dispose?? | Overloaded. (inherited from CompositeActivity ) | |
Execute?? | (inherited from SpeechCompositeActivity ) | |
ExecuteCore | Overridden. Starts the execution of the QuestionAnswerActivity. | |
Finalize?? | (inherited from DependencyObject ) | |
GetAllCommands?? | Retrieves all the commands that are associated with the SpeechCompositeActivity or one of its parents.(inherited from SpeechCompositeActivity) | |
GetBoundValue?? | (inherited from DependencyObject ) | |
GetDynamicActivities?? | (inherited from CompositeActivity ) | |
GetInvocationList?? | (inherited from DependencyObject ) | |
HandleFault?? | (inherited from CompositeActivity ) | |
Initialize?? | (inherited from CompositeActivity ) | |
InitializeProperties?? | (inherited from DependencyObject ) | |
Invoke?? | Overloaded. (inherited from Activity ) | |
MemberwiseClone?? | (inherited from Object ) | |
OnActivityChangeAdd?? | (inherited from CompositeActivity ) | |
OnActivityChangeRemove?? | (inherited from CompositeActivity ) | |
OnActivityExecutionContextLoad?? | (inherited from CompositeActivity ) | |
OnActivityExecutionContextUnload?? | (inherited from CompositeActivity ) | |
OnClosed | Overridden. Closes the workflow. | |
OnListChanged?? | (inherited from CompositeActivity ) | |
OnListChanging?? | (inherited from CompositeActivity ) | |
OnTurnStarting | Raises the TurnStarting event, enabling the author to dynamically change the prompt. | |
OnWorkflowChangesCompleted?? | (inherited from CompositeActivity ) | |
RaiseEvent?? | (inherited from Activity ) | |
RaiseGenericEvent?? | (inherited from Activity ) | |
Reset | Resets the SemanticItems associated with this QuestionAnswerActivity. | |
SetBoundValue?? | (inherited from DependencyObject ) | |
SetReadOnlyPropertyValue?? | (inherited from DependencyObject ) | |
TrackData?? | Overloaded. (inherited from Activity ) | |
Uninitialize?? | (inherited from CompositeActivity ) |
Top
Public Events
?? | Name | Description |
---|---|---|
Canceling?? | (inherited from Activity ) | |
Closed?? | (inherited from Activity ) | |
Compensating?? | (inherited from Activity ) | |
Executing?? | (inherited from Activity ) | |
Faulting?? | (inherited from Activity ) | |
StatusChanged?? | (inherited from Activity ) | |
TurnStarting | Occurs after the QuestionAnswerActivity selects the prompt to play. |
Top
Explicit Interface Implementations
?? | Name | Description |
---|---|---|
Microsoft.SpeechServer.Dialog.IFormFillingElement.CanBeExecuted | Implements CanBeExecuted. | |
Microsoft.SpeechServer.Dialog.IFormFillingElement.Reset | Implements Reset. | |
System.ComponentModel.IComponent.Disposed?? | (inherited from DependencyObject ) |
Top
See Also
Reference
QuestionAnswerActivity Class
Microsoft.SpeechServer.Dialog Namespace