This documentation is archived and is not being maintained.

DefaultTraceListener Methods

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Close  When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. (Inherited from TraceListener.)
Public method 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.)
Public method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the TraceListener. (Inherited from TraceListener.)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Fail Overloaded. Overridden. Emits or displays a message and a stack trace for an assertion that always fails.
Public method Supported by the .NET Compact Framework Flush  When overridden in a derived class, flushes the output buffer. (Inherited from TraceListener.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method TraceData  Overloaded. Writes trace data to the listener specific output. (Inherited from TraceListener.)
Public method TraceEvent  Overloaded. Writes trace and event information to the listener specific output. (Inherited from TraceListener.)
Public method TraceTransfer  Writes trace information, a message, a related activity identity and event information to the listener specific output. (Inherited from TraceListener.)
Public method Supported by the .NET Compact Framework Write Overloaded. Writes a message to the listener.
Public method Supported by the .NET Compact Framework WriteLine Overloaded. Writes a message to the listener, followed by a line terminator.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the TraceListener. (Inherited from TraceListener.)
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetSupportedAttributes  Gets the custom attributes supported by the trace listener. (Inherited from TraceListener.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework WriteIndent  Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false. (Inherited from TraceListener.)
Top
Show: