Assert.DoesNotThrow Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
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
Parameter
- code
- TestDelegate
Gilt für:
DoesNotThrow(TestDelegate, String)
public static void DoesNotThrow (NUnit.Framework.TestDelegate code, string message);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string -> unit
Parameter
- code
- TestDelegate
- message
- String
Gilt für:
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
Parameter
- code
- TestDelegate
- message
- String
- args
- Object[]