CodeAccessPermission.RevertDeny Methode

Definition

Achtung

Diese API ist nun veraltet.

Achtung

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.

Deny() Führt dazu, dass der aktuelle Frame entfernt und nicht mehr wirksam wird.

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

Ausnahmen

Für den aktuellen Frame ist kein Vorheriger Deny() vorhanden.

Hinweise

Wenn für den aktuellen Frame kein Deny Wert vorhanden ist, wird ein ExecutionEngineException Fehler ausgelöst.

Gilt für: