| Visual Basic (Declaration) | |
|---|---|
Public Overloads Shared Sub Assert(Of TException As {New, Exception})( _ ByVal condition As Boolean, _ ByVal message As String _ ) | |
| C# | |
|---|---|
public static void Assert<TException>( bool condition, string message ) where TException: new(), Exception | |
Parameters
- condition
- message
Type Parameters
- TException
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7