Assert.DoesNotThrow Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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
Paramètres
- code
- TestDelegate
S’applique à
DoesNotThrow(TestDelegate, String)
public static void DoesNotThrow (NUnit.Framework.TestDelegate code, string message);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string -> unit
Paramètres
- code
- TestDelegate
- message
- String
S’applique à
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
Paramètres
- code
- TestDelegate
- message
- String
- args
- Object[]