Assert.DoesNotThrow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- code
- TestDelegate
Applies to
DoesNotThrow(TestDelegate, String)
public static void DoesNotThrow (NUnit.Framework.TestDelegate code, string message);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string -> unit
Parameters
- code
- TestDelegate
- message
- String
Applies to
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
Parameters
- code
- TestDelegate
- message
- String
- args
- Object[]