次の方法で共有


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

予期される例外の種類

適用対象