Debugger.IsLogging Méthode

Définition

Vérifie si la journalisation est activée 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 que la journalisation est activée ; sinon, false. Le débogueur attaché est le débogueur managé inscrit dans la clé de DbgManagedDebugger Registre. Pour plus d’informations sur cette clé, consultez Activation JIT-Attach débogage.

S’applique à