The properties of the ExpectedExceptionAttribute class are listed below. For a complete list of ExpectedExceptionAttribute class members, see the ExpectedExceptionAttribute Members topic.
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. |
ExpectedExceptionAttribute Class | csUnit Namespace