CodeAccessPermission.RevertDeny Metodo

Definizione

Attenzione

Questa API è ora deprecata.

Attenzione

Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.

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

public:
 static void RevertDeny();
[System.Obsolete]
public static void RevertDeny();
public static void RevertDeny();
[System.Obsolete("Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
public static void RevertDeny();
[<System.Obsolete>]
static member RevertDeny : unit -> unit
static member RevertDeny : unit -> unit
[<System.Obsolete("Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
static member RevertDeny : unit -> unit
Public Shared Sub RevertDeny ()
Attributi

Eccezioni

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

Commenti

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

Si applica a