Compartilhar via


ExpectedExceptionAttribute Classe

Definição

Expectedexceptionattribute

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class ExpectedExceptionAttribute : NUnit.Framework.NUnitAttribute
type ExpectedExceptionAttribute = class
    inherit NUnitAttribute
Herança
ExpectedExceptionAttribute
Atributos

Construtores

ExpectedExceptionAttribute()

Construtor para uma exceção não específica

ExpectedExceptionAttribute(String)

Expectedexceptionattribute

ExpectedExceptionAttribute(Type)

Construtor para um determinado tipo de exceção

Propriedades

ExceptionData

Expectedexceptionattribute

ExpectedException

Expectedexceptionattribute

ExpectedExceptionName

Expectedexceptionattribute

ExpectedMessage

Expectedexceptionattribute

Handler

Expectedexceptionattribute

MatchType

Expectedexceptionattribute

UserMessage

Expectedexceptionattribute

Aplica-se a