ExpectedExceptionAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
ExpectedExceptionAttribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class ExpectedExceptionAttribute : NUnit.Framework.NUnitAttribute
type ExpectedExceptionAttribute = class
inherit NUnitAttribute
- 继承
- 属性
构造函数
ExpectedExceptionAttribute() |
非特定异常的构造函数 |
ExpectedExceptionAttribute(String) |
ExpectedExceptionAttribute |
ExpectedExceptionAttribute(Type) |
给定类型的异常的构造函数 |
属性
ExceptionData |
ExpectedExceptionAttribute |
ExpectedException |
ExpectedExceptionAttribute |
ExpectedExceptionName |
ExpectedExceptionAttribute |
ExpectedMessage |
ExpectedExceptionAttribute |
Handler |
ExpectedExceptionAttribute |
MatchType |
ExpectedExceptionAttribute |
UserMessage |
ExpectedExceptionAttribute |