CodeAccessPermission.RevertDeny 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
现已弃用此 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() 版本。
注解
如果当前帧不存在 Deny ,则会引发一个 ExecutionEngineException 。