CodeAccessPermission.RevertAssert Metodo

Definizione

Fa sì che qualsiasi precedente Assert() per il frame corrente venga rimosso e non sia più attivo.

public:
 static void RevertAssert();
public static void RevertAssert();
static member RevertAssert : unit -> unit
Public Shared Sub RevertAssert ()

Eccezioni

Non esiste alcun Assert() precedente per il frame corrente.

Commenti

Se non è presente alcun Assert oggetto per il frame corrente, viene generata un'eccezione ExecutionEngineException .

Si applica a