ExpectedExceptionAttribute Constructor
Include Protected Members
Include Inherited Members
Initializes a new instance of the ExpectedExceptionAttribute class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
ExpectedExceptionAttribute(Type) | Initializes a new instance of the ExpectedExceptionAttribute class with an expected exception. | |
ExpectedExceptionAttribute(Type, String) | Initializes a new instance of the ExpectedExceptionAttribute class with and expected exception type and a message that describes the exception. |
Top
Remarks
The properties do not have default values. They can be initialized through the constructors.