Debug Methods

 

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAssert(Boolean)

Checks for a condition; if the condition is false, displays a message box that shows the call stack.

System_CAPS_pubmethodSystem_CAPS_staticAssert(Boolean, String)

Checks for a condition; if the condition is false, outputs a specified message and displays a message box that shows the call stack.

System_CAPS_pubmethodSystem_CAPS_staticAssert(Boolean, String, String)

Checks for a condition; if the condition is false, outputs two specified messages and displays a message box that shows the call stack.

System_CAPS_pubmethodSystem_CAPS_staticAssert(Boolean, String, String, Object[])

Checks for a condition; if the condition is false, outputs two messages (simple and formatted) and displays a message box that shows the call stack.

System_CAPS_pubmethodSystem_CAPS_staticClose()

Flushes the output buffer and then calls the Close method on each of the Listeners.

System_CAPS_pubmethodSystem_CAPS_staticFail(String)

Emits the specified error message.

System_CAPS_pubmethodSystem_CAPS_staticFail(String, String)

Emits an error message and a detailed error message.

System_CAPS_pubmethodSystem_CAPS_staticFlush()

Flushes the output buffer and causes buffered data to write to the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticIndent()

Increases the current IndentLevel by one.

System_CAPS_pubmethodSystem_CAPS_staticPrint(String)

Writes a message followed by a line terminator to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticPrint(String, Object[])

Writes a formatted string followed by a line terminator to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticUnindent()

Decreases the current IndentLevel by one.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Object)

Writes the value of the object's ToString method to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Object, String)

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWrite(String)

Writes a message to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWrite(String, String)

Writes a category name and message to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWriteIf(Boolean, Object)

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

System_CAPS_pubmethodSystem_CAPS_staticWriteIf(Boolean, Object, String)

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

System_CAPS_pubmethodSystem_CAPS_staticWriteIf(Boolean, String)

Writes a message to the trace listeners in the Listeners collection if a condition is true.

System_CAPS_pubmethodSystem_CAPS_staticWriteIf(Boolean, String, String)

Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Object)

Writes the value of the object's ToString method to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Object, String)

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String)

Writes a message followed by a line terminator to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String, Object[])

Writes a formatted message followed by a line terminator to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String, String)

Writes a category name and message to the trace listeners in the Listeners collection.

System_CAPS_pubmethodSystem_CAPS_staticWriteLineIf(Boolean, Object)

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

System_CAPS_pubmethodSystem_CAPS_staticWriteLineIf(Boolean, Object, String)

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

System_CAPS_pubmethodSystem_CAPS_staticWriteLineIf(Boolean, String)

Writes a message to the trace listeners in the Listeners collection if a condition is true.

System_CAPS_pubmethodSystem_CAPS_staticWriteLineIf(Boolean, String, String)

Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.

Return to top
Show: