This documentation is archived and is not being maintained.
Trace Methods
Visual Studio 2008
The Trace type exposes the following members.
| Name | Description | |
|---|---|---|
|
Assert | Overloaded. Checks for a condition; if the condition is false, outputs messages and displays a message box that shows the call stack. |
|
Close | Flushes the output buffer, and then closes the Listeners. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Fail | Overloaded. Emits an error message. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Flush | Flushes the output buffer, and causes buffered data to be written to the Listeners. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
Indent | Increases the current IndentLevel by one. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Refresh | Refreshes the trace configuration data. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TraceError | Overloaded. Writes error information to the trace listeners in the Listeners collection. |
|
TraceInformation | Overloaded. Writes an informational message to the trace listeners in the Listeners collection. |
|
TraceWarning | Overloaded. Writes warning information to the trace listeners in the Listeners collection. |
|
Unindent | Decreases the current IndentLevel by one. |
|
Write | Overloaded. Writes information about the trace to the trace listeners in the Listeners collection. |
|
WriteIf | Overloaded. Writes information about the trace to the trace listeners in the Listeners collection if a condition is true. |
|
WriteLine | Overloaded. Writes information about the trace to the trace listeners in the Listeners collection. |
|
WriteLineIf | Overloaded. Writes information about the trace to the trace listeners in the Listeners collection if a condition is true. |
Show: