Compartir a través de


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

Represents a system-initiated event in the dialog flow and a handler for the event.

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

Syntax

'Declaration
<ToolboxItemAttribute(False)> _
<DesignerAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.SpeechEventActivityDesigner, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", GetType(IDesigner))> _
<ActivityValidatorAttribute(GetType(SpeechEventActivityValidator))> _
Public Class SpeechEventActivity
    Inherits SpeechSequenceActivity
    Implements IEventActivity
[ToolboxItemAttribute(false)] 
[DesignerAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.SpeechEventActivityDesigner, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", typeof(IDesigner))] 
[ActivityValidatorAttribute(typeof(SpeechEventActivityValidator))] 
public class SpeechEventActivity : SpeechSequenceActivity, IEventActivity

Remarks

A CommandActivity is a similar type, but represents a user-initiated event in the dialog flow.

A SpeechEventActivity also provides event subscription data. Children of the SpeechEventActivity represent handler logic for the event.

Inheritance Hierarchy

System.Object
???? System.Workflow.ComponentModel.DependencyObject
???????? System.Workflow.ComponentModel.Activity
???????????? System.Workflow.ComponentModel.CompositeActivity
???????????????? System.Workflow.Activities.SequenceActivity
???????????????????? Microsoft.SpeechServer.Dialog.SpeechSequenceActivity
????????????????????????Microsoft.SpeechServer.Dialog.SpeechEventActivity
???????????????????????????? Microsoft.SpeechServer.Dialog.ConsecutiveNoInputsSpeechEventActivity
???????????????????????????? Microsoft.SpeechServer.Dialog.ConsecutiveNoRecognitionsSpeechEventActivity
???????????????????????????? Microsoft.SpeechServer.Dialog.ConsecutiveSilencesSpeechEventActivity

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

SpeechEventActivity Members
Microsoft.SpeechServer.Dialog Namespace