CodeAccessPermission.RevertDeny Metoda

Definicja

Przestroga

Ten interfejs API jest już przestarzały.

Przestroga

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.

Powoduje usunięcie dowolnego poprzedniego Deny() elementu dla bieżącej ramki i nie będzie już obowiązywać.

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

Wyjątki

Nie ma poprzedniego Deny() elementu dla bieżącej ramki.

Uwagi

Jeśli nie Deny ma dla bieżącej ramki, ExecutionEngineException jest zgłaszany.

Dotyczy