The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ExpectedExceptionAttribute Constructor
Initializes a new instance of the ExpectedExceptionAttribute class.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
| 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. |
The properties do not have default values. They can be initialized through the constructors.
Show:
