Assert.DoesNotThrow 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
| DoesNotThrow(TestDelegate) | |
| DoesNotThrow(TestDelegate, String) | |
| DoesNotThrow(TestDelegate, String, Object[]) |
DoesNotThrow(TestDelegate)
public static void DoesNotThrow(NUnit.Framework.TestDelegate code);
static member DoesNotThrow : NUnit.Framework.TestDelegate -> unit
Parametri
- code
- TestDelegate
Si applica a
DoesNotThrow(TestDelegate, String)
public static void DoesNotThrow(NUnit.Framework.TestDelegate code, string message);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string -> unit
Parametri
- code
- TestDelegate
- message
- String
Si applica a
DoesNotThrow(TestDelegate, String, Object[])
public static void DoesNotThrow(NUnit.Framework.TestDelegate code, string message, params object[] args);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string * obj[] -> unit
Parametri
- code
- TestDelegate
- message
- String
- args
- Object[]