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

condition
property
message

Glossary Item Box

if(condition == false) throws The configuration value '{0}' is invalid. {1}

Syntax

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

Parameters

condition
property
message

Exceptions

ExceptionDescription
InvalidConfigurationValueExceptionException class: InvalidConfigurationValueException The configuration value '{0}' is invalid.

Requirements

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

See Also

Generated with Document! X 2011 by Innovasys