SetTaskStatusActivity.TaskStatus Property
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.
Gets or sets the state of the task to be logged.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
<GlobalizedDescriptionAttribute("SetTaskStatusActivity_TaskStatus")> _
<DefaultValueAttribute(TaskStatus.Unset)> _
<GlobalizedCategoryAttribute("SpeechCategory")> _
Public Property TaskStatus As TaskStatus
[GlobalizedDescriptionAttribute("SetTaskStatusActivity_TaskStatus")]
[DefaultValueAttribute(TaskStatus.Unset)]
[GlobalizedCategoryAttribute("SpeechCategory")]
public TaskStatus TaskStatus { get; set; }
Property Value
A TaskStatus value that describes the state of the task to be logged.
Example
The following example creates a SetTaskStatusActivity instance and sets the Name, TaskName, and TaskStatus properties on the instance.
this.SetUserInputFailed = new Microsoft.SpeechServer.Dialog.SetTaskStatusActivity();
this.SetUserInputFailed.Name = "SetUserInputFailed";
this.SetUserInputFailed.TaskName = "CollectUserInput";
this.SetUserInputFailed.TaskStatus = Microsoft.SpeechServer.TaskStatus.Failure;
this.UserInputFailed.Activities.Add(this.SetUserInputFailed);
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
SetTaskStatusActivity Class
SetTaskStatusActivity Members
Microsoft.SpeechServer.Dialog Namespace
SetTaskStatusActivity.TaskName Property