ExpectedExceptionAttribute Constructores

Definición

Sobrecargas

ExpectedExceptionAttribute()

Constructor para una excepción no específica

ExpectedExceptionAttribute(String)
ExpectedExceptionAttribute(Type)

Constructor para un tipo determinado de excepción

ExpectedExceptionAttribute()

Constructor para una excepción no específica

public ExpectedExceptionAttribute();

Se aplica a

ExpectedExceptionAttribute(String)

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

Parámetros

exceptionName
String

Se aplica a

ExpectedExceptionAttribute(Type)

Constructor para un tipo determinado de excepción

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

Parámetros

exceptionType
Type

Tipo de la excepción esperada

Se aplica a