Export (0) Print
Expand All

Debug Members

Debug overview

Public Properties

public propertystatic (Shared in Visual Basic)AutoFlush

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether Flush should be called on the Listeners after every write.
public propertystatic (Shared in Visual Basic)IndentLevel

Supported by the .NET Compact Framework.

Gets or sets the indent level.
public propertystatic (Shared in Visual Basic)IndentSize

Supported by the .NET Compact Framework.

Gets or sets the number of spaces in an indent.
public propertystatic (Shared in Visual Basic)Listeners

Supported by the .NET Compact Framework.

Gets the collection of listeners that is monitoring the debug output.

Public Methods

public methodstatic (Shared in Visual Basic)Assert

Supported by the .NET Compact Framework.

Overloaded. Checks for a condition and displays a message if the condition is false.
public methodstatic (Shared in Visual Basic)Close

Supported by the .NET Compact Framework.

Flushes the output buffer and then closes the Listeners.
public methodstatic (Shared in Visual Basic)Fail

Supported by the .NET Compact Framework.

Overloaded. Emits an error message.
public methodstatic (Shared in Visual Basic)Flush

Supported by the .NET Compact Framework.

Flushes the output buffer and causes buffered data to write to the Listeners collection.
public methodstatic (Shared in Visual Basic)Indent Increases the current IndentLevel by one.
public methodstatic (Shared in Visual Basic)Unindent Decreases the current IndentLevel by one.
public methodstatic (Shared in Visual Basic)Write

Supported by the .NET Compact Framework.

Overloaded. Writes information about the debug to the trace listeners in the Listeners collection.
public methodstatic (Shared in Visual Basic)WriteIf

Supported by the .NET Compact Framework.

Overloaded. Writes information about the debug to the trace listeners in the Listeners collection if a condition is true.
public methodstatic (Shared in Visual Basic)WriteLine

Supported by the .NET Compact Framework.

Overloaded. Writes information about the debug to the trace listeners in the Listeners collection.
public methodstatic (Shared in Visual Basic)WriteLineIf

Supported by the .NET Compact Framework.

Overloaded. Writes information about the debug to the trace listeners in the Listeners collection if a condition is true.

See Also

Debug Class | System.Diagnostics Namespace

Show:
© 2015 Microsoft