ExpectedExceptionAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ExpectedExceptionAttribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class ExpectedExceptionAttribute : NUnit.Framework.NUnitAttribute
type ExpectedExceptionAttribute = class
inherit NUnitAttribute
- Inheritance
- Attributes
Constructors
ExpectedExceptionAttribute() |
Constructor for a non-specific exception |
ExpectedExceptionAttribute(String) | |
ExpectedExceptionAttribute(Type) |
Constructor for a given type of exception |
Properties
ExceptionData | |
ExpectedException | |
ExpectedExceptionName | |
ExpectedMessage | |
Handler | |
MatchType | |
UserMessage |