CodeAccessPermission::RevertAll Method ()


Causes all previous overrides for the current frame to be removed and no longer in effect.

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

static void RevertAll()

Exception Condition

There is no previous Assert, Deny, or PermitOnly for the current frame.

If there are no overrides (Assert, Deny, or PermitOnly) for the current frame, an ExecutionEngineException is thrown.

.NET Framework
Available since 1.1
Return to top