Trace method

Sends a message to the eTrace window.

Syntax


C++

HRESULT Trace (
   LONG TraceLevel,
   BSTR Msg)

Scripting languages

Object.Trace (
   TraceLevel As Long,
   Msg As String)

Parameters


TraceLevel

The trace level at which this message will be seen. Levels are 1 to 5, where 1 is the lowest and 5 is the highest level of detail.

Msg

The message to be written to the eTrace window.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERUTraceMessage