ExpectedExceptionAttribute Classe

Definizione

Expectedexceptionattribute

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class ExpectedExceptionAttribute : NUnit.Framework.NUnitAttribute
type ExpectedExceptionAttribute = class
    inherit NUnitAttribute
Ereditarietà
ExpectedExceptionAttribute
Attributi

Costruttori

Nome Descrizione
ExpectedExceptionAttribute()

Costruttore per un'eccezione non specifica

ExpectedExceptionAttribute(String)

Expectedexceptionattribute

ExpectedExceptionAttribute(Type)

Costruttore per un determinato tipo di eccezione

Proprietà

Nome Descrizione
ExceptionData

Expectedexceptionattribute

ExpectedException

Expectedexceptionattribute

ExpectedExceptionName

Expectedexceptionattribute

ExpectedMessage

Expectedexceptionattribute

Handler

Expectedexceptionattribute

MatchType

Expectedexceptionattribute

UserMessage

Expectedexceptionattribute

Si applica a