TraceListener Members | Glimpse API Documentation |
The TraceListener type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
TraceListener | Initializes a new instance of the TraceListener class | |
TraceListener(String) | Initializes a new instance of the TraceListener class | |
TraceListener(IMessageBroker, Func IExecutionTimer ) | Initializes a new instance of the TraceListener class |
Methods
Name | Description | |
---|---|---|
Close | When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. (Inherited from TraceListener.) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Dispose | Releases all resources used by the TraceListener. (Inherited from TraceListener.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the TraceListener and optionally releases the managed resources. (Inherited from TraceListener.) | |
Equals | (Inherited from Object.) | |
Fail(String) | (Overrides TraceListener Fail(String).) | |
Fail(String, String) | (Overrides TraceListener Fail(String, String).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flush | When overridden in a derived class, flushes the output buffer. (Inherited from TraceListener.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetSupportedAttributes | Gets the custom attributes supported by the trace listener. (Inherited from TraceListener.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TraceData(TraceEventCache, String, TraceEventType, Int32, Object) | (Overrides TraceListener TraceData(TraceEventCache, String, TraceEventType, Int32, Object).) | |
TraceData(TraceEventCache, String, TraceEventType, Int32, Object ) | (Overrides TraceListener TraceData(TraceEventCache, String, TraceEventType, Int32, Object ).) | |
TraceEvent(TraceEventCache, String, TraceEventType, Int32) | Writes trace and event information to the listener specific output. (Inherited from TraceListener.) | |
TraceEvent(TraceEventCache, String, TraceEventType, Int32, String) | (Overrides TraceListener TraceEvent(TraceEventCache, String, TraceEventType, Int32, String).) | |
TraceEvent(TraceEventCache, String, TraceEventType, Int32, String, Object ) | (Overrides TraceListener TraceEvent(TraceEventCache, String, TraceEventType, Int32, String, Object ).) | |
TraceTransfer | Writes trace information, a message, a related activity identity and event information to the listener specific output. (Inherited from TraceListener.) | |
Write(Object) | (Overrides TraceListener Write(Object).) | |
Write(String) | (Overrides TraceListener Write(String).) | |
Write(Object, String) | (Overrides TraceListener Write(Object, String).) | |
Write(String, String) | (Overrides TraceListener Write(String, String).) | |
WriteIndent | Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false. (Inherited from TraceListener.) | |
WriteLine(Object) | (Overrides TraceListener WriteLine(Object).) | |
WriteLine(String) | (Overrides TraceListener WriteLine(String).) | |
WriteLine(Object, String) | (Overrides TraceListener WriteLine(Object, String).) | |
WriteLine(String, String) | (Overrides TraceListener WriteLine(String, String).) |
Extension Methods
Name | Description | |
---|---|---|
GetTypeOrNull |
Returns the value of GetType if value is not null.
(Defined by ObjectExtensions.) | |
ToStringOrDefault |
Returns the value of ToString if value is not null.
(Defined by ObjectExtensions.) |
Properties
Name | Description | |
---|---|---|
Attributes | Gets the custom trace listener attributes defined in the application configuration file. (Inherited from TraceListener.) | |
Filter | Gets and sets the trace filter for the trace listener. (Inherited from TraceListener.) | |
IndentLevel | Gets or sets the indent level. (Inherited from TraceListener.) | |
IndentSize | Gets or sets the number of spaces in an indent. (Inherited from TraceListener.) | |
IsThreadSafe | Gets a value indicating whether the trace listener is thread safe. (Inherited from TraceListener.) | |
Name | Gets or sets a name for this TraceListener. (Inherited from TraceListener.) | |
NeedIndent | Gets or sets a value indicating whether to indent the output. (Inherited from TraceListener.) | |
TraceOutputOptions | Gets or sets the trace output options. (Inherited from TraceListener.) |
See Also