Context.Echo Method
When called in a response, this method writes messages to a text file for debugging purposes.
public void Echo(
String format,
Object[] arg
);
Parameters
- format
The format to use. - arg
The message to write.
Remarks
To enable tracing on the computer running the response, see Enabling Tracing.
Trace output from all scripts and managed code responses that use the Echo method will be visible in the log file. To make it easier to locate your entries in the file, you should prefix each message with the name of the script or assembly, as well as a time stamp.
Requirements
Platforms: Requires Windows 2000 Server or later
Version: Requires MOM 2005 or later
Namespace: Microsoft.EnterpriseManagement.Mom.Runtime
Assembly: MOM.Context (in MOM.Context.dll)