CodeAccessPermission.RevertDeny CodeAccessPermission.RevertDeny CodeAccessPermission.RevertDeny CodeAccessPermission.RevertDeny Method

Definition

Warning

This API is now obsolete.

Causes any previous Deny() for the current frame to be removed and no longer in effect.

public:
 static void RevertDeny();
[System.Obsolete]
[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.")]
[System.Diagnostics.Conditional("FEATURE_MONO_CAS")]
public static void RevertDeny ();
static member RevertDeny : unit -> unit
Public Shared Sub RevertDeny ()

Exceptions

Remarks

If there is no Deny for the current frame, an ExecutionEngineException is thrown.

Applies to