System.Diagnostics Namespace

The System.Diagnostics namespace contains classes that allow you to debug your application. In the desktop implementation, these classes also allow you to interact with system processes, event logs, and performance counters, but they are not implemented in the .NET Compact Framework. The namespace is implemented in the mscorlib.dll assembly. Table A-11 lists the classes in the System.Diagnostics namespace.

Table A-11. Classes in the System.Diagnostics Namespace 

Class

Description

BooleanSwitch

Not supported.

ConditionalAttribute

Indicates to compilers that a method is callable if a specified preprocessing identifier is applied to the method.

Counter* classes

Not supported.

Debug

Provides a set of methods and ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.