TaskStart Class

TaskStart Class

Raised by:  TAS
Base Class:  ApplicationTaskEvent
Derived Classes:  None

TaskStart provides a way for SALT application developers to send an event to the Trace log when an application attempts to initiate a defined task.

TaskStart has the following properties:

Property

Type

Description

TaskName

String

The name of the application task.

Example

import Microsoft.SpeechServer.Messages;

if ( TaskStart.IsEnabled() )
{
    // Raise a task start event
    TaskStart.Raise( "Account update" );
}

Remarks

In the normal sequence of events, for a given TaskName, an associated TaskStart, TaskProgress, and TaskComplete event would appear in the logs.

See Also

Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Filters | Filtering Logged Events