[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.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static void Assert(
	bool bval,
	string str1,
	string str2
)
Visual Basic (Declaration)
Public Shared Sub Assert ( _
	bval As Boolean, _
	str1 As String, _
	str2 As String _
)
Visual C++
public:
static void Assert(
	bool bval, 
	String^ str1, 
	String^ str2
)

Parameters

bval
Type: System..::.Boolean
The boolean value of the assertion
str1
Type: System..::.String
The first string to be printed if the assertion failed
str2
Type: System..::.String
The second string to be printed if the assertion failed

See Also