| Visual Basic (Declaration) | |
|---|---|
Public Overloads Shared Sub Assert( _ ByVal condition As Boolean, _ ByVal message As String _ )  | |
Parameters
- condition
 - message
 
| Exception | Description | 
|---|---|
| AssertionFailedException | Exception class: AssertionFailedException A runtime assertion failed while performing the operation. | 
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7