CodeAccessPermission.RevertPermitOnly Metodo

Definizione

Fa sì che qualsiasi precedente PermitOnly() per il frame corrente venga rimosso e non sia più attivo.

public:
 static void RevertPermitOnly();
public static void RevertPermitOnly();
static member RevertPermitOnly : unit -> unit
Public Shared Sub RevertPermitOnly ()

Eccezioni

Non esiste alcun PermitOnly() precedente per il frame corrente.

Commenti

Se non è presente alcun PermitOnly oggetto per il frame corrente, viene generata un'eccezione ExecutionEngineException .

Si applica a