共用方式為


Assert.DoesNotThrow 方法

定義

多載

DoesNotThrow(TestDelegate)

public static void DoesNotThrow(NUnit.Framework.TestDelegate code);
static member DoesNotThrow : NUnit.Framework.TestDelegate -> unit

參數

適用於

DoesNotThrow(TestDelegate, String)

public static void DoesNotThrow(NUnit.Framework.TestDelegate code, string message);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string -> unit

參數

message
String

適用於

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

參數

message
String
args
Object[]

適用於