Export (0) Print
Expand All

TextWriterTraceListener Members

Directs tracing or debugging output to a TextWriter or to a Stream, such as FileStream.

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

  Name Description
Public method Supported by the XNA Framework TextWriterTraceListener Overloaded. Initializes a new instance of the TextWriterTraceListener class.
Top

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

  Name Description
Protected property Supported by the XNA Framework NeedIndent  Gets or sets a value indicating whether to indent the output.(inherited from TraceListener)
Top

(see also Protected Methods )
  Name Description
Public method Supported by the XNA Framework Close Overridden. Closes the Writer so that 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 XNA Framework Dispose Overloaded. Disposes this TextWriterTraceListener object.
Public method Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the XNA Framework Fail  Overloaded. Emits error messages to the listener you create when you implement the TraceListener class. (inherited from TraceListener)
Public method Supported by the XNA Framework Flush Overridden. Flushes the output buffer for the Writer.
Public method 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 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 ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method 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. (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 XNA Framework Write Overloaded. Writes a message to this instance's Writer.
Public method Supported by the XNA Framework WriteLine Overloaded. Writes a message to this instance's Writer followed by a line terminator.
Top

  Name Description
Protected method Supported by the XNA Framework Dispose Overloaded. Overridden. Disposes this TextWriterTraceListener object.
Protected method 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. (inherited from TraceListener)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method 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. (inherited from TraceListener)
Top

Community Additions

ADD
Show:
© 2014 Microsoft