[This is preliminary documentation and is subject to change.]
Traces an asertion, the assertion is only traced if it is false. This works only if the AssertFail
switch is set in web.config
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static void Assert( bool bval, string str ) |
Visual Basic (Declaration) |
---|
Public Shared Sub Assert ( _ bval As Boolean, _ str As String _ ) |
Visual C++ |
---|
public: static void Assert( bool bval, String^ str ) |
Parameters
- bval
- Type: System..::.Boolean
The boolean value of the assertion
- str
- Type: System..::.String
The string to be printed if the assertion failed