CodeAccessPermission.RevertAssert 方法

定義

會讓目前幀的所有先前 Assert() 設定被移除,不再有效。

public:
 static void RevertAssert();
public static void RevertAssert();
static member RevertAssert : unit -> unit
Public Shared Sub RevertAssert ()

例外狀況

目前框架沒有先行 Assert()

備註

若當前框架為 no Assert ,則擲出 a ExecutionEngineException

適用於