TraceListener Members
From Glimpse API
| TraceListener Members | Glimpse API Documentation |
The TraceListener type exposes the following members.
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 | |
|---|---|---|
When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. (Inherited from | ||
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from | ||
Releases all resources used by the (Inherited from | ||
Releases the unmanaged resources used by the (Inherited from | ||
| (Inherited from | ||
| Fail(String) | (Overrides | |
| Fail(String, String) | (Overrides | |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
When overridden in a derived class, flushes the output buffer. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from | ||
Gets the custom attributes supported by the trace listener. (Inherited from | ||
Gets the (Inherited from | ||
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from | ||
| TraceData(TraceEventCache, String, TraceEventType, Int32, Object) | (Overrides | |
| TraceData(TraceEventCache, String, TraceEventType, Int32, Object ) | (Overrides | |
Writes trace and event information to the listener specific output. (Inherited from | ||
| TraceEvent(TraceEventCache, String, TraceEventType, Int32, String) | (Overrides | |
| TraceEvent(TraceEventCache, String, TraceEventType, Int32, String, Object ) | (Overrides | |
Writes trace information, a message, a related activity identity and event information to the listener specific output. (Inherited from | ||
| Write(Object) | (Overrides | |
| Write(String) | (Overrides | |
| Write(Object, String) | (Overrides | |
| Write(String, String) | (Overrides | |
Writes the indent to the listener you create when you implement this class, and resets the (Inherited from | ||
| WriteLine(Object) | (Overrides | |
| WriteLine(String) | (Overrides | |
| WriteLine(Object, String) | (Overrides | |
| WriteLine(String, String) | (Overrides |
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 | |
|---|---|---|
Gets the custom trace listener attributes defined in the application configuration file. (Inherited from | ||
Gets and sets the trace filter for the trace listener. (Inherited from | ||
Gets or sets the indent level. (Inherited from | ||
Gets or sets the number of spaces in an indent. (Inherited from | ||
Gets a value indicating whether the trace listener is thread safe. (Inherited from | ||
Gets or sets a name for this (Inherited from | ||
Gets or sets a value indicating whether to indent the output. (Inherited from | ||
Gets or sets the trace output options. (Inherited from |
See Also