CodeAccessPermission.RevertAll 方法

定義

會移除目前畫面格之所有先前覆寫,且不再有作用。

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

例外狀況

目前畫面格沒有先前的 Assert()Deny()PermitOnly()

備註

如果目前框架沒有覆寫 (AssertDenyPermitOnly) , ExecutionEngineException 則會擲回 。

適用於