Export (0) Print
Expand All

Trace Members

Trace overview

Public Properties

public propertystatic (Shared in Visual Basic)AutoFlush Gets or sets whether Flush should be called on the Listeners after every write.
public propertystatic (Shared in Visual Basic)IndentLevel Gets or sets the indent level.
public propertystatic (Shared in Visual Basic)IndentSize Gets or sets the number of spaces in an indent.
public propertystatic (Shared in Visual Basic)Listeners Gets the collection of listeners that is monitoring the trace 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 Flushes the output buffer, and then closes the Listeners.
public methodstatic (Shared in Visual Basic)Fail Overloaded. Emits an error message.
public methodstatic (Shared in Visual Basic)Flush Flushes the output buffer, and causes buffered data to be written to the Listeners.
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 Overloaded. Writes information about the trace to the trace listeners in the Listeners collection.
public methodstatic (Shared in Visual Basic)WriteIf Overloaded. Writes information about the trace to the trace listeners in the Listeners collection if a condition is true.
public methodstatic (Shared in Visual Basic)WriteLine Overloaded. Writes information about the trace to the trace listeners in the Listeners collection.
public methodstatic (Shared in Visual Basic)WriteLineIf Overloaded. Writes information about the trace to the trace listeners in the Listeners collection if a condition is true.

See Also

Trace Class | System.Diagnostics Namespace

Show:
© 2014 Microsoft