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 则会引发 。

适用于