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