Editar

Partilhar 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();
public static void RevertPermitOnly ();
static member RevertPermitOnly : unit -> unit
Public Shared Sub 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