Share via


CodeAccessPermission.RevertDeny Método

Definición

Precaución

Esta API ya está en desuso.

Precaució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.

Provoca que se elimine y deje de tener efecto cualquier Deny() anterior para el fotograma actual.

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

Excepciones

No hay ningún Deny() anterior para el marco actual.

Comentarios

Si no hay ningún Deny para el marco actual, se produce una ExecutionEngineException excepción .

Se aplica a