CodeAccessPermission::RevertDeny Method ()
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Security
Assembly: mscorlib (in mscorlib.dll)
Return to top
Causes any previous Deny for the current frame to be removed and no longer in effect.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | There is no previous Deny for the current frame. |
If there is no Deny for the current frame, an ExecutionEngineException is thrown.
.NET Framework
Available since 1.1
Available since 1.1
Show: