DefaultTraceListener Class
Provides the default output methods and behavior for tracing.
Definition
Members Table
The following table lists the members exposed by the DefaultTraceListener object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| Close | When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. (Inherited from TraceListener) |
| DefaultTraceListener | Initializes a new instance of DefaultTraceListener. |
| Dispose | Overloaded. Releases all resources used by the TraceListener. (Inherited from TraceListener) |
| Equals | Overloaded. Compares two objects to determine if they are equal. (Inherited from Object) |
| Fail | Overloaded. Sends out or displays a message and a stack trace for an assertion that always fails. |
| Flush | Overriden. When overridden in a derived class, flushes the output buffer. |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object) |
| ToString | Returns a String that represents the current Object. (Inherited from Object) |
| Write | Overloaded. Writes a message to the listener. |
| 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 | Overloaded. Writes a message to the listener, followed by a line terminator. |
Properties
Inheritance Hierarchy
Object
Class Information
| Namespace | System.Diagnostics |
|---|
| Flash Library | corlib.scl |
|---|
| Flash Library Version | 2.0.0.2466 |
|---|
| Silverlight Library | System.Windows.Forms.dll |
|---|