System.Security.CodeAccessPermission.RevertDeny Method

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

Syntax

public static void RevertDeny ()

Remarks

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

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0