Click or drag to resize
DebugAssert Method (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.

Namespace: System.Diagnostics
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public static void Assert(
	bool condition,
	string message
)

Parameters

condition
Type: SystemBoolean
The conditional expression to evaluate. If the condition is true, the specified message is not sent and the message box is not displayed.
message
Type: SystemString
The message to send to the System.Diagnostics.Trace.Listeners collection.
See Also