다음을 통해 공유


TestCaseData.Throws 메서드

정의

오버로드

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

반환

적용 대상