ExpectedExceptionAttribute Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Expectedexceptionattribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class ExpectedExceptionAttribute : NUnit.Framework.NUnitAttribute
type ExpectedExceptionAttribute = class
inherit NUnitAttribute
- Ereditarietà
- 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 |