FormFillingDialogActivity Class

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.

Implements a form-filling algorithm.

Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
<GlobalizedCategoryAttribute("MSSCategory")> _
<GlobalizedDescriptionAttribute("FormFillingDialogActivity")> _
<DesignerAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.FormFillingDialogDesigner, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", GetType(IDesigner))> _
<ToolboxBitmapAttribute(GetType(FormFillingDialogActivity))> _
<ActivityValidatorAttribute(GetType(FormFillingDialogActivityValidator))> _
Public NotInheritable Class FormFillingDialogActivity
    Inherits SpeechCompositeActivity
    Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
[GlobalizedCategoryAttribute("MSSCategory")] 
[GlobalizedDescriptionAttribute("FormFillingDialogActivity")] 
[DesignerAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.FormFillingDialogDesigner, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", typeof(IDesigner))] 
[ToolboxBitmapAttribute(typeof(FormFillingDialogActivity))] 
[ActivityValidatorAttribute(typeof(FormFillingDialogActivityValidator))] 
public sealed class FormFillingDialogActivity : SpeechCompositeActivity, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

Remarks

A FormFillingDialogActivity can contain as children only those activities that implement IFormFillingElement: GetAndConfirmActivity, QuestionAnswerActivity, or ValidatorActivity.

When a FormFillingDialogActivity begins execution, it resets all its children, clearing the associated semantic item on each. The FormFillingDialogActivity then iterates through its collection of child activities, looking for the first child activity that is active (that is, one whose CanBeExecuted method returns True). When the FormFillingDialogActivity finds an active child, it executes the child activity. When the child activity returns, the FormFillingDialogActivity again iterates through its child activities, looking for an active child activity. When there are no remaining active child activities, the FormFillingDialogActivity terminates.

Inheritance Hierarchy

System.Object
???? System.Workflow.ComponentModel.DependencyObject
???????? System.Workflow.ComponentModel.Activity
???????????? System.Workflow.ComponentModel.CompositeActivity
???????????????? Microsoft.SpeechServer.Dialog.SpeechCompositeActivity
????????????????????Microsoft.SpeechServer.Dialog.FormFillingDialogActivity

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

FormFillingDialogActivity Members
Microsoft.SpeechServer.Dialog Namespace
IFormFillingElement
GetAndConfirmActivity
QuestionAnswerActivity
ValidatorActivity
CanBeExecuted
CanBeExecuted
CanBeExecuted