Debugger.IsLogging Method

Checks to see whether logging is enabled by an attached debugger.

Namespace:  System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

public static bool IsLogging()

Return Value

Type: System.Boolean
true if a debugger is attached and logging is enabled; otherwise, false. The attached debugger is the registered managed debugger in the DbgManagedDebugger registry key.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Adiciones de comunidad