TestCaseData.Throws 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Throws(String) | |
Throws(Type) |
Throws(String)
public NUnit.Framework.TestCaseData Throws (string exceptionName);
member this.Throws : string -> NUnit.Framework.TestCaseData
参数
- exceptionName
- String
返回
适用于
Throws(Type)
public NUnit.Framework.TestCaseData Throws (Type exceptionType);
member this.Throws : Type -> NUnit.Framework.TestCaseData
参数
- exceptionType
- Type