Debugger.IsLogging Méthode

Définition

Vérifie si le journal est activé par un débogueur attaché.

public:
 static bool IsLogging();
public static bool IsLogging ();
static member IsLogging : unit -> bool
Public Shared Function IsLogging () As Boolean

Retours

true si un débogueur est attaché et si le journal est activé ; sinon, false. Le débogueur attaché est le débogueur managé enregistré dans la clé de Registre DbgManagedDebugger. Pour plus d’informations sur cette clé, consultez Activation du débogage juste-à-temps.

S’applique à