CodeAccessPermission.RevertDeny Method ()

 
Note: This API is now obsolete.

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

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

[<ObsoleteAttribute("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

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
Return to top
Show: