GOA - System.Diagnostics.TraceListener

TraceListener Class


Provides the abstract base class for the listeners who monitor trace and debug output.

Definition

public abstract class TraceListener: Object, IDisposable

Members Table

MethodDescription
CloseWhen overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
DisposeOverloaded. Releases all resources used by the TraceListener.
EqualsOverloaded. Compares two objects to determine if they are equal. (Inherited from Object)
FailOverloaded. Sends out an error message to the listener you create when you implement the TraceListener.
FlushWhen overridden in a derived class, flushes the output buffer.
GetHashCodeServes as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object)
GetTypeGets the Type of the current instance. (Inherited from Object)
ReferenceEqualsDetermines whether the specified Object instances are the same instance. (Inherited from Object)
ToStringReturns a String that represents the current Object. (Inherited from Object)
TraceListenerOverloaded. Initializes a new instance of TraceListener.
WriteOverloaded. Writes a message, category name, or the value of an object's ToString method to the listener.
WriteIndentWrites the indent to the listener you create when you implement this class, and resets the NeedIndent property to false.
WriteLineOverloaded. Writes a message, category name, or the value of an object's ToString method to the listener, followed by a line terminator.
PropertyDescription
IndentLevelGets or sets the indent level.
IndentSizeGets or sets the number of spaces in an indent.
NameGets or sets a name for this TraceListener.
NeedIndentGets or sets a value indicating whether to indent the output.

Inheritance Hierarchy

Object
TraceListener
DefaultTraceListener

Class Information

NamespaceSystem.Diagnostics
Flash Librarycorlib.scl
Flash Library Version2.0.0.2466
Silverlight LibrarySystem.Windows.Forms.dll



© 2003-2007 NETiKA Technologies. All rights reserved.