다음을 통해 공유


ExpectedExceptionAttribute 생성자

정의

오버로드

ExpectedExceptionAttribute()

특정이 아닌 예외에 대한 생성자

ExpectedExceptionAttribute(String)
ExpectedExceptionAttribute(Type)

지정된 유형의 예외에 대한 생성자

ExpectedExceptionAttribute()

특정이 아닌 예외에 대한 생성자

public ExpectedExceptionAttribute();

적용 대상

ExpectedExceptionAttribute(String)

public ExpectedExceptionAttribute(string exceptionName);
new NUnit.Framework.ExpectedExceptionAttribute : string -> NUnit.Framework.ExpectedExceptionAttribute

매개 변수

exceptionName
String

적용 대상

ExpectedExceptionAttribute(Type)

지정된 유형의 예외에 대한 생성자

public ExpectedExceptionAttribute(Type exceptionType);
new NUnit.Framework.ExpectedExceptionAttribute : Type -> NUnit.Framework.ExpectedExceptionAttribute

매개 변수

exceptionType
Type

예상된 예외의 형식입니다.

적용 대상