SpeechEventsActivity 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.
Defines a collection of SpeechEventActivity objects.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
<ActivityValidatorAttribute(GetType(SpeechEventsActivityValidator))> _
<DesignerAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.SpeechEventsActivityDesigner, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", GetType(IDesigner))> _
<ToolboxItemAttribute(False)> _
<AlternateFlowActivityAttribute> _
<ToolboxBitmapAttribute(GetType(SpeechEventsActivity))> _
Public Class SpeechEventsActivity
Inherits CompositeActivity
Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
[ActivityValidatorAttribute(typeof(SpeechEventsActivityValidator))]
[DesignerAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.SpeechEventsActivityDesigner, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", typeof(IDesigner))]
[ToolboxItemAttribute(false)]
[AlternateFlowActivityAttribute]
[ToolboxBitmapAttribute(typeof(SpeechEventsActivity))]
public class SpeechEventsActivity : CompositeActivity, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
Remarks
A SpeechEventsActivity works closely with a SpeechSequenceActivity, which defines a main flow. A SpeechEventsActivity represents the system-initiated events and triggers (and their processing) that can occur while the main flow is in progress.
Each SpeechEventActivity in this collection represents an event or trigger that can occur, as well as the handler for the event. A SpeechEventsActivity acts as a subscriber for these events by obtaining subscription data from each SpeechEventActivity in the collection. A SpeechEventsActivity also receives events as they occur and executes the associated speech events.
Inheritance Hierarchy
System.Object
???? System.Workflow.ComponentModel.DependencyObject
???????? System.Workflow.ComponentModel.Activity
???????????? System.Workflow.ComponentModel.CompositeActivity
????????????????Microsoft.SpeechServer.Dialog.SpeechEventsActivity
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
SpeechEventsActivity Members
Microsoft.SpeechServer.Dialog Namespace