System.Diagnostics namespaces
System.Diagnostics and its child namespaces (System.Diagnostics.CodeAnalysis, System.Diagnostics.Contracts, and System.Diagnostics.Tracing) contain types that enable you to interact with system processes, event logs, and performance counters.
This topic displays the types in the System.Diagnostics namespaces that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in the .NET for Windows Store apps.
System.Diagnostics namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Indicates to compilers that a method call or attribute should be ignored unless a specified conditional compilation symbol is defined. |
|
Provides a set of methods and properties that help debug your code. This class cannot be inherited. |
|
Modifies code generation for runtime just-in-time (JIT) debugging. This class cannot be inherited. |
|
Specifies the debugging mode for the just-in-time (JIT) compiler. |
|
Enables communication with a debugger. This class cannot be inherited. |
|
Determines if and how a member is displayed in the debugger variable windows. This class cannot be inherited. |
|
Provides display instructions for the debugger. |
|
Determines how a class or field is displayed in the debugger variable windows. |
|
Specifies the DebuggerHiddenAttribute. This class cannot be inherited. |
|
Identifies a type or member that is not part of the user code for an application. |
|
Instructs the debugger to step through the code instead of stepping into the code. This class cannot be inherited. |
|
Specifies the display proxy for a type. |
|
Provides a set of methods and properties that you can use to accurately measure elapsed time. |
System.Diagnostics.CodeAnalysis namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Suppresses reporting of a specific static analysis tool rule violation, allowing multiple suppressions on a single code artifact. |
System.Diagnostics.Contracts namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Contains static methods for representing program contracts such as preconditions, postconditions, and object invariants. |
|
Enables defining abbreviations for contracts which can be used in place of the full contract syntax. |
|
Enables factoring legacy if-then-throw code into separate methods for reuse and full control over thrown exceptions and arguments. |
|
Specifies that a separate type contains the code contracts for this type. |
|
Specifies that a class is a contract for a type. |
|
Provides methods and data for the ContractFailed event. |
|
Specifies the type of contract that failed. |
|
Marks a method as being the invariant method for a class. |
|
Allows setting contract and tool options at assembly, type, or method granularity. |
|
Specifies that a field can be used in method contracts when the field has less visibility than the method. |
|
Specifies that an assembly is a reference assembly that contains contracts. |
|
Identifies a member that has no run-time behavior. |
|
Instructs analysis tools to assume the correctness of an assembly, type, or member without performing static verification. |
|
Indicates that a type or method is pure, that is, it does not make any visible state changes. |
System.Diagnostics.Tracing namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Enables you to specify additional event schema information for an event. |
|
Describes the command passed to the OnEventCommand callback. |
|
Provides the arguments for the OnEventCommand callback. |
|
Defines the standard keywords that apply to events. |
|
Identifies the level of an event. |
|
Provides methods for enabling and disabling events from event sources. |
|
Defines the standard opcodes that are attached to events by the event source. |
|
Provides the ability to create events for event tracing. |
|
Provides the event data for creating fast WriteEvent overloads using the WriteEventCore method. |
|
Allows the event tracing for Windows (ETW) name to be defined independently of the name of the event source class. |
|
The exception that is thrown when an error occurs during event tracing for Windows (ETW). |
|
Defines the tasks that apply to events. |
|
Provides data for the OnEventWritten callback. |
|
Identifies a method not generating an event. |