Checks for a condition and outputs the call stack if the condition is false.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public static void Assert( bool condition ) |
Visual Basic |
---|
Public Shared Sub Assert ( _ condition As Boolean _ ) |
Parameters
- condition
- Type: System..::..Boolean
The conditional expression to evaluate. If the condition is true, the call stack is not displayed.