GOA - System.Diagnostics.DefaultTraceListener

DefaultTraceListener Class


Provides the default output methods and behavior for tracing.

Definition

public class DefaultTraceListener: TraceListener

Members Table

MethodDescription
CloseWhen overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. (Inherited from TraceListener)
DefaultTraceListenerInitializes a new instance of DefaultTraceListener.
DisposeOverloaded. Releases all resources used by the TraceListener. (Inherited from TraceListener)
EqualsOverloaded. Compares two objects to determine if they are equal. (Inherited from Object)
FailOverloaded. Sends out or displays a message and a stack trace for an assertion that always fails.
FlushOverriden. When 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)
WriteOverloaded. Writes a message to the listener.
WriteIndentWrites the indent to the listener you create when you implement this class, and resets the NeedIndent property to false. (Inherited from TraceListener)
WriteLineOverloaded. Writes a message to the listener, followed by a line terminator.
PropertyDescription
IndentLevelGets or sets the indent level. (Inherited from TraceListener)
IndentSizeGets or sets the number of spaces in an indent. (Inherited from TraceListener)
NameGets or sets a name for this TraceListener. (Inherited from TraceListener)
NeedIndentGets or sets a value indicating whether to indent the output. (Inherited from TraceListener)

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.