TraceListener Members

Glimpse API

TraceListener Members Glimpse API Documentation

The TraceListener type exposes the following members.

Constructors

  NameDescription
Public methodTraceListener 
Initializes a new instance of the TraceListener class
Public methodTraceListener(String)
Initializes a new instance of the TraceListener class
Public methodTraceListener(IMessageBroker, Func IExecutionTimer )
Initializes a new instance of the TraceListener class
Back to Top
Methods

  NameDescription
Public methodOnlineClose
When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
(Inherited from OnlineTraceListener.)
Public methodOnlineCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from OnlineMarshalByRefObject.)
Public methodOnlineDispose 
Releases all resources used by the OnlineTraceListener.
(Inherited from OnlineTraceListener.)
Protected methodOnlineDispose(Boolean)
Releases the unmanaged resources used by the OnlineTraceListener and optionally releases the managed resources.
(Inherited from OnlineTraceListener.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodFail(String) (Overrides OnlineTraceListener Fail(String).)
Public methodFail(String, String) (Overrides OnlineTraceListener Fail(String, String).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineFlush
When overridden in a derived class, flushes the output buffer.
(Inherited from OnlineTraceListener.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from OnlineMarshalByRefObject.)
Protected methodOnlineGetSupportedAttributes
Gets the custom attributes supported by the trace listener.
(Inherited from OnlineTraceListener.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodOnlineInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from OnlineMarshalByRefObject.)
Protected methodOnlineMemberwiseClone 
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone(Boolean)
Creates a shallow copy of the current OnlineMarshalByRefObject object.
(Inherited from OnlineMarshalByRefObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTraceData(TraceEventCache, String, TraceEventType, Int32, Object) (Overrides OnlineTraceListener TraceData(TraceEventCache, String, TraceEventType, Int32, Object).)
Public methodTraceData(TraceEventCache, String, TraceEventType, Int32,  Object ) (Overrides OnlineTraceListener TraceData(TraceEventCache, String, TraceEventType, Int32,  Object ).)
Public methodOnlineTraceEvent(TraceEventCache, String, TraceEventType, Int32)
Writes trace and event information to the listener specific output.
(Inherited from OnlineTraceListener.)
Public methodTraceEvent(TraceEventCache, String, TraceEventType, Int32, String) (Overrides OnlineTraceListener TraceEvent(TraceEventCache, String, TraceEventType, Int32, String).)
Public methodTraceEvent(TraceEventCache, String, TraceEventType, Int32, String,  Object ) (Overrides OnlineTraceListener TraceEvent(TraceEventCache, String, TraceEventType, Int32, String,  Object ).)
Public methodOnlineTraceTransfer
Writes trace information, a message, a related activity identity and event information to the listener specific output.
(Inherited from OnlineTraceListener.)
Public methodWrite(Object) (Overrides OnlineTraceListener Write(Object).)
Public methodWrite(String) (Overrides OnlineTraceListener Write(String).)
Public methodWrite(Object, String) (Overrides OnlineTraceListener Write(Object, String).)
Public methodWrite(String, String) (Overrides OnlineTraceListener Write(String, String).)
Protected methodOnlineWriteIndent
Writes the indent to the listener you create when you implement this class, and resets the OnlineNeedIndent property to false.
(Inherited from OnlineTraceListener.)
Public methodWriteLine(Object) (Overrides OnlineTraceListener WriteLine(Object).)
Public methodWriteLine(String) (Overrides OnlineTraceListener WriteLine(String).)
Public methodWriteLine(Object, String) (Overrides OnlineTraceListener WriteLine(Object, String).)
Public methodWriteLine(String, String) (Overrides OnlineTraceListener WriteLine(String, String).)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetTypeOrNull
Returns the value of GetType if value is not null.
(Defined by ObjectExtensions.)
Public Extension MethodToStringOrDefault
Returns the value of ToString if value is not null.
(Defined by ObjectExtensions.)
Back to Top
Properties

  NameDescription
Public propertyOnlineAttributes
Gets the custom trace listener attributes defined in the application configuration file.
(Inherited from OnlineTraceListener.)
Public propertyOnlineFilter
Gets and sets the trace filter for the trace listener.
(Inherited from OnlineTraceListener.)
Public propertyOnlineIndentLevel
Gets or sets the indent level.
(Inherited from OnlineTraceListener.)
Public propertyOnlineIndentSize
Gets or sets the number of spaces in an indent.
(Inherited from OnlineTraceListener.)
Public propertyOnlineIsThreadSafe
Gets a value indicating whether the trace listener is thread safe.
(Inherited from OnlineTraceListener.)
Public propertyOnlineName
Gets or sets a name for this OnlineTraceListener.
(Inherited from OnlineTraceListener.)
Protected propertyOnlineNeedIndent
Gets or sets a value indicating whether to indent the output.
(Inherited from OnlineTraceListener.)
Public propertyOnlineTraceOutputOptions
Gets or sets the trace output options.
(Inherited from OnlineTraceListener.)
Back to Top
See Also