Assert(Boolean,String) Method
In This Topic
Checks for a condition and displays a specified message if the condition is false.
Syntax
'Declaration
Public Overloads Shared Sub Assert( _
ByVal As Boolean, _
ByVal As String _
)
public static void Assert(
bool ,
string
)
Parameters
- condition
- The conditional expression to evaluate. If the condition is true, the specified message is not displayed.
- message
- A message to display.
See Also