TestCaseData.Throws Metodo
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.
Overload
Throws(String)
public NUnit.Framework.TestCaseData Throws(string exceptionName);
member this.Throws : string -> NUnit.Framework.TestCaseData
Parametri
- exceptionName
- String
Restituisce
Si applica a
Throws(Type)
public NUnit.Framework.TestCaseData Throws(Type exceptionType);
member this.Throws : Type -> NUnit.Framework.TestCaseData
Parametri
- exceptionType
- Type