Export (0) Print
Expand All

Trace Members

Provides a set of methods and properties that help you trace the execution of your code. This class cannot be inherited.

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

  Name Description
Public property Static Supported by the XNA Framework AutoFlush Gets or sets whether Flush should be called on the Listeners after every write.
Public property Static CorrelationManager Gets the correlation manager for the thread for this trace.
Public property Static Supported by the XNA Framework IndentLevel Gets or sets the indent level.
Public property Static Supported by the XNA Framework IndentSize Gets or sets the number of spaces in an indent.
Public property Static Supported by the XNA Framework Listeners Gets the collection of listeners that is monitoring the trace output.
Public property Static UseGlobalLock Gets or sets a value indicating whether the global lock should be used.
Top

(see also Protected Methods )
  Name Description
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework Assert Overloaded. Checks for a condition, and displays a message if the condition is false.
Public method Static Supported by the XNA Framework Close Flushes the output buffer, and then closes the Listeners.
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 Static Supported by the XNA Framework Fail Overloaded. Emits an error message.
Public method Static Supported by the XNA Framework Flush Flushes the output buffer, and causes buffered data to be written to the Listeners.
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 Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Indent Increases the current IndentLevel by one.
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 Static Refresh Refreshes the trace configuration data.
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 Static TraceError Overloaded. Writes error information to the trace listeners in the Listeners collection.
Public method Static TraceInformation Overloaded. Writes an informational message to the trace listeners in the Listeners collection.
Public method Static TraceWarning Overloaded. Writes warning information to the trace listeners in the Listeners collection.
Public method Static Unindent Decreases the current IndentLevel by one.
Public method Static Supported by the XNA Framework Write Overloaded. Writes information about the trace to the trace listeners in the Listeners collection.
Public method Static Supported by the XNA Framework WriteIf Overloaded. Writes information about the trace to the trace listeners in the Listeners collection if a condition is true.
Public method Static Supported by the XNA Framework WriteLine Overloaded. Writes information about the trace to the trace listeners in the Listeners collection.
Public method Static Supported by the XNA Framework WriteLineIf Overloaded. Writes information about the trace to the trace listeners in the Listeners collection if a condition is true.
Top

  Name Description
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 Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2015 Microsoft