Compartir a través de


NavigableListActivity 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.

Enables navigation through a list of items that are received from a data source.

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

Syntax

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

Remarks

A NavigableListActivity provides the ability for a user to choose an item from a relatively long list of items by navigating through the list. For shorter lists of items, consider using a MenuActivity.

A NavigableListActivity consists of two phases: a navigation (or get) phase and a confirmation phase. The default grammars for the navigation phase recognize the names of the items in the list, as well as "first," "last," "next," "previous," "select," and "cancel." The default confirmation-phase grammars recognize "yes" and "no."

There are default grammars for NavigableListActivity for each language that ships with Speech Server. For information about the default grammars for a particular language, see:

A NavigableListActivity exits when an item is selected (and if necessary, confirmed), or when an item is canceled.

Inheritance Hierarchy

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

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

NavigableListActivity Members
Microsoft.SpeechServer.Dialog Namespace
MenuActivity Class