Trace Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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_staticClose()

Flushes the output buffer, and then closes the Listeners.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

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 be written to the Listeners.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIndent()

Increases the current IndentLevel by one.

System_CAPS_pubmethodSystem_CAPS_staticRefresh()

Refreshes the trace configuration data.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticTraceError(String)

Writes an error message to the trace listeners in the Listeners collection using the specified message.

System_CAPS_pubmethodSystem_CAPS_staticTraceError(String, Object[])

Writes an error message to the trace listeners in the Listeners collection using the specified array of objects and formatting information.

System_CAPS_pubmethodSystem_CAPS_staticTraceInformation(String)

Writes an informational message to the trace listeners in the Listeners collection using the specified message.

System_CAPS_pubmethodSystem_CAPS_staticTraceInformation(String, Object[])

Writes an informational message to the trace listeners in the Listeners collection using the specified array of objects and formatting information.

System_CAPS_pubmethodSystem_CAPS_staticTraceWarning(String)

Writes a warning message to the trace listeners in the Listeners collection using the specified message.

System_CAPS_pubmethodSystem_CAPS_staticTraceWarning(String, Object[])

Writes a warning message to the trace listeners in the Listeners collection using the specified array of objects and formatting information.

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 a 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 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: