RevertPermitOnly Method

CodeAccessPermission.RevertPermitOnly Method ()


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

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

public static void RevertPermitOnly()

Exception Condition

There is no previous PermitOnly for the current frame.

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

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft