CodeAccessPermission.RevertDeny Method

Definition

Warning

This API is now obsolete.

Qualsiasi Deny() precedente per il frame corrente viene rimosso e non è più attivo.Causes any previous Deny() for the current frame to be removed and no longer in effect.

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.Diagnostics.Conditional("FEATURE_MONO_CAS")]
public static void RevertDeny ();
static member RevertDeny : unit -> unit
Public Shared Sub RevertDeny ()
Attributes

Exceptions

Non è presente alcun oggetto Deny() precedente per il fotogramma corrente.There is no previous Deny() for the current frame.

Remarks

Se non è presente alcun Deny per il frame corrente, viene generata un'ExecutionEngineException.If there is no Deny for the current frame, an ExecutionEngineException is thrown.

Applies to