Edit

Share via


CodeAccessPermission.RevertPermitOnly Method

Definition

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

public static void RevertPermitOnly();

Exceptions

There is no previous PermitOnly() for the current frame.

Remarks

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

Applies to