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