TraceMessage Class
TraceMessage Class
Raised by: SALT application, Speech Controls
Base Class: DebugMessage
Derived Classes: None
TraceMessage defines a way for SALT application developers to send an application-specific message to the Trace log in a production environment.
TraceMessage has the following properties:
Property |
Type |
Description |
---|---|---|
Message |
String |
A text string supplied by the developer that specifies the content of the message. |
Example
import Microsoft.SpeechServer.Messages; if ( TraceMessage.IsEnabled() ) { // Raise a trace message event TraceMessage.Raise( "GetBalance() start: args: acctid=112233445566" ); }
See Also
Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Filters | Filtering Logged Events