csUnit Class Library

ExpectedExceptionAttribute Properties

The properties of the ExpectedExceptionAttribute class are listed below. For a complete list of ExpectedExceptionAttribute class members, see the ExpectedExceptionAttribute Members topic.

Public Instance Properties

ExceptionType Gets the system type of the expected exception.
IsRequired Returns true if the expected exception MUST be thrown for the test method to pass.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

ExpectedExceptionAttribute Class | csUnit Namespace