Share via


ContentList.TraceMode

Ee797502.c++_on(en-US,CS.10).gifEe797502.vb_off(en-US,CS.10).gif

The TraceMode property is a read/write Boolean that controls whether score tracing is enabled or suppressed.

Definition

Property TraceMode() As Boolean

Parameters

None.

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Remarks

This property acts as a global switch to control whether or not score tracing is performed. If it is set to True, a SimpleList object of trace messages will be constructed that can be accessed through the TraceMessages property. If it is set to False, score tracing is suppressed.

When you use score tracing, you will notice a dramatic negative effect on performance; score tracing should not be used under normal circumstances. However, it can be useful when you are attempting to troubleshoot a scoring-related issue.

See Also

ContentList Object


All rights reserved.