Export (0) Print
Expand All

Debug Members

Provides a set of methods and properties that help debug your code. This class cannot be inherited.

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

  Name Description
Public property Static Supported by the .NET Compact Framework AutoFlush Gets or sets a value indicating whether Flush should be called on the Listeners after every write.
Public property Static Supported by the .NET Compact Framework IndentLevel Gets or sets the indent level.
Public property Static Supported by the .NET Compact Framework IndentSize Gets or sets the number of spaces in an indent.
Public property Static Supported by the .NET Compact Framework Listeners Gets the collection of listeners that is monitoring the debug output.
Top

(see also Protected Methods )
  Name Description
Public method Static Supported by the .NET Compact Framework Assert Overloaded. Checks for a condition and displays a message if the condition is false.
Public method Static Supported by the .NET Compact Framework Close Flushes the output buffer and then calls the Close method on each of the Listeners.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework Fail Overloaded. Emits an error message.
Public method Static Supported by the .NET Compact Framework Flush Flushes the output buffer and causes buffered data to write to the Listeners collection.
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 Supported by the .NET Compact 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 Print Overloaded. Writes a message followed by a line terminator to the trace listeners in the Listeners collection.
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 Static Unindent Decreases the current IndentLevel by one.
Public method Static Supported by the .NET Compact Framework Write Overloaded. Writes information about the debug to the trace listeners in the Listeners collection.
Public method Static Supported by the .NET Compact Framework WriteIf Overloaded. Writes information about the debug to the trace listeners in the Listeners collection if a condition is true.
Public method Static Supported by the .NET Compact Framework WriteLine Overloaded. Writes information about the debug to the trace listeners in the Listeners collection.
Public method Static Supported by the .NET Compact Framework WriteLineIf Overloaded. Writes information about the debug to the trace listeners in the Listeners collection if a condition is true.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft