Partager via


Assert.DoesNotThrow Méthode

Définition

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

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

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

message
String
args
Object[]

S’applique à