Condividi tramite


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

ExpectedExceptionAttribute()

Costruttore per un'eccezione non specifica

ExpectedExceptionAttribute(String)

Expectedexceptionattribute

ExpectedExceptionAttribute(Type)

Costruttore per un determinato tipo di eccezione

Proprietà

ExceptionData

Expectedexceptionattribute

ExpectedException

Expectedexceptionattribute

ExpectedExceptionName

Expectedexceptionattribute

ExpectedMessage

Expectedexceptionattribute

Handler

Expectedexceptionattribute

MatchType

Expectedexceptionattribute

UserMessage

Expectedexceptionattribute

Si applica a