CodeAccessPermission.RevertDeny 方法

定義

警告

此 API 現已淘汰。

警告

Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.

會移除目前畫面格之任何先前的 Deny(),且不再有作用。

public:
 static void RevertDeny();
[System.Obsolete]
public static void RevertDeny ();
public static void RevertDeny ();
[System.Obsolete("Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
public static void RevertDeny ();
[<System.Obsolete>]
static member RevertDeny : unit -> unit
static member RevertDeny : unit -> unit
[<System.Obsolete("Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
static member RevertDeny : unit -> unit
Public Shared Sub RevertDeny ()
屬性

例外狀況

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

備註

如果目前框架沒有 DenyExecutionEngineException 則會擲回 。

適用於