TestUtilitiesAssertIsException Method |
Throws an assertion if the type passed across is not an exception type, does not have the
correct constructors or is not serialisable.
Namespace: Test.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void AssertIsException(
Type exceptionType
)
Public Shared Sub AssertIsException (
exceptionType As Type
)
public:
static void AssertIsException(
Type^ exceptionType
)
static member AssertIsException :
exceptionType : Type -> unit
Parameters
- exceptionType
- Type: SystemType
See Also