Export (0) Print
Expand All

TraceListener Members

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

The following tables list the members exposed by the TraceListener type.

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework TraceListener Overloaded. Initializes a new instance of the TraceListener class.
Top

(see also Protected Properties )
  Name Description
Public property Attributes Gets the custom trace listener attributes defined in the application configuration file.
Public property Filter Gets and sets the trace filter for the trace listener.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IndentLevel Gets or sets the indent level.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IndentSize Gets or sets the number of spaces in an indent.
Public property IsThreadSafe Gets a value indicating whether the trace listener is thread safe.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name Gets or sets a name for this TraceListener.
Public property TraceOutputOptions Gets or sets the trace output options.
Top

  Name Description
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework NeedIndent Gets or sets a value indicating whether to indent the output.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
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 Supported by the XNA Framework Dispose Overloaded. Releases the resources used by the TraceListener.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Fail Overloaded. Emits error messages to the listener you create when you implement the TraceListener class.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Flush When overridden in a derived class, flushes the output buffer.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (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 Supported by the XNA 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 Supported by the XNA 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.
Public method TraceEvent Overloaded. Writes trace and event information to the listener specific output.
Public method TraceTransfer Writes trace information, a message, a related activity identity and event information to the listener specific output.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Write Overloaded. Writes a message, category name, or the value of an object's ToString method to the listener you create when you implement the TraceListener class.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteLine Overloaded. Writes a message, category name, or the value of an object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded. Releases the resources used by the TraceListener.
Protected method Supported by the .NET Compact Framework Supported by the XNA 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.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework WriteIndent Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false.
Top

Community Additions

ADD
Show:
© 2015 Microsoft