CodeAccessPermission.RevertDeny Metoda

Definice

Upozornění

Toto rozhraní API je teď zastaralé.

Upozornění

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.

Způsobí, že se stávající Deny() snímek odebere a už nebude platit.

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 ()
Atributy

Výjimky

Pro aktuální snímek neexistuje předchozí Deny() .

Poznámky

Pokud pro aktuální rámec neexistuje žádná Deny hodnota, ExecutionEngineException vyvolá se chyba.

Platí pro