ITraceLog Interface

 

Updated: February 25, 2016

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)

public interface class ITraceLog

NameDescription
System_CAPS_pubpropertyTraceError

Gets a Boolean value that indicates whether error messages are written to the trace log.

System_CAPS_pubpropertyTraceInfo

Gets a Boolean value that indicates whether informational messages are written to the trace log.

System_CAPS_pubpropertyTraceVerbose

Gets a Boolean value that indicates whether verbose messages are written to the trace log.

System_CAPS_pubpropertyTraceWarning

Gets a Boolean value that indicates whether warning messages are written to the trace log.

NameDescription
System_CAPS_pubmethodWriteTrace(String^, TraceLevel)

Writes a message to the trace log.

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.

See the example in ITraceableComponent.

Return to top
Show: