InformationalMessage Class

InformationalMessage Class

Raised by:  SALT application, Speech Controls
Base Class:  ApplicationOperatorEvent
Derived Classes:  None

InformationalMessage provides a way for SALT application developers to send an entry to the Windows Event log for informational-level events.

Events in this category are sent to both the Windows Event log and the Trace log.

InformationalMessageEvent implements the following properties:

Property

Type

Description

Message

String

A text string supplied by the developer that specifies the content of the message.

Remarks

Events sent to the Windows Event log are visible to system administrators and operations staff. Message text for these events should contain clear information about the event, and in cases of warning– or error–level events, provide information about steps to take to resolve the situation.

Example

import Microsoft.SpeechServer.Messages;

if ( InformationalMessage.IsEnabled() )
{
    // Raise an operator-visible informational message
    InformationalMessage.Raise("Call Center application: used the database
 with the name DB554433.");
}

See Also

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