ITraceLog Interface

Represents a trace log that is used for writing trace messages from an ITraceableComponent to the report server trace log.

Namespace:  Microsoft.ReportingServices.Extensions
Assembly:  Microsoft.ReportingServices.Diagnostics (in Microsoft.ReportingServices.Diagnostics.dll)

Syntax

'Declaration
Public Interface ITraceLog
'Usage
Dim instance As ITraceLog
public interface ITraceLog
public interface class ITraceLog
type ITraceLog =  interface end
public interface ITraceLog

The ITraceLog type exposes the following members.

Properties

  Name Description
Public property TraceError Gets a Boolean value that indicates whether error messages are written to the trace log.
Public property TraceInfo Gets a Boolean value that indicates whether informational messages are written to the trace log.
Public property TraceVerbose Gets a Boolean value that indicates whether verbose messages are written to the trace log.
Public property TraceWarning Gets a Boolean value that indicates whether warning messages are written to the trace log.

Top

Methods

  Name Description
Public method WriteTrace Writes a message to the trace log.

Top

Remarks

Do not implement this interface. Instead, use the SetTraceLog method to obtain the reference to an ITraceLog object and use that object to write messages to the report server trace log.

Examples

See the example in ITraceableComponent.