CSharpTest.Net
Assert(Boolean) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.BPlusTree Assembly > CSharpTest.Net Namespace > AssertionFailedException Class > Assert Method : Assert(Boolean) Method

condition

Glossary Item Box

if(condition == false) throws A runtime assertion failed while performing the operation.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub Assert( _
   ByVal condition As Boolean _
) 
C# 
public static void Assert( 
   bool condition
)

Parameters

condition

Exceptions

ExceptionDescription
AssertionFailedExceptionException class: AssertionFailedException A runtime assertion failed while performing the operation.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys