StatementActivity Constructor ()
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.
Initializes a new instance of the StatementActivity class.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
Public Sub New
public StatementActivity ()
Remarks
The default constructor initializes any fields to their default values.
Example
The following example creates a StatementActivity and sets a number of its properties.
this.greetings = new Microsoft.SpeechServer.Dialog.StatementActivity();
this.userKnown = new System.Workflow.Activities.IfElseBranchActivity();
this.greetings.CanBargeIn = true;
this.greetings.LogResults = true;
this.greetings.Name = "greetings";
this.greetings.TurnStarting += new System.EventHandler<Microsoft.SpeechServer.Dialog.TurnStartingEventArgs>(this.greetings_TurnStarting);
this.userKnown.Activities.Add(this.greetings);
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
StatementActivity Class
StatementActivity Members
Microsoft.SpeechServer.Dialog Namespace