NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

System.Diagnostics Namespace

Classes

Class Description
BooleanSwitch Provides a simple on/off switch that can be used to control debugging and tracing output.
ConditionalAttribute [To be supplied.]
Counter Provides access to system timers.
CounterCreationData A struct defining the counter type, name and help string for a custom counter.
CounterCreationDataCollection [To be supplied.]
CounterSampleCalculator Set of utility functions for interpreting the counter data NOTE: most of this code was taken and ported from counters.c (PerfMon source code)
CountersData A strongly typed collection containing InstancesData for a category.
Debug Provides a set of properties and methods for debugging code.
DebuggableAmbivalentAttribute [To be supplied.]
DebuggableAttribute [To be supplied.]
Debugger Enables communication with a debugger.
DebuggerHiddenAttribute [To be supplied.]
DebuggerStepThroughAttribute [To be supplied.]
DefaultTraceListener Provides the default output methods and behavior for tracing.
EventLog Provides interaction with Windows 2000 event logs.
EventLog.EntriesEnumerator Holds an EventLog.EventLogEntryCollection that consists of the entries in an event log.
EventLog.EventLogEntryCollection [To be supplied.]
EventLogEntry EventLogEntry encapsulates a single record in the NT event log.
EventLogEvent Provides data for the System.Diagnostics.EventLog.EntryWritten event.
EventLogInstaller This class acts as an installer for the EventLog component. Essentially, it calls EventLog.CreateEventSource.
EventLogNames [To be supplied.]
EventLogTraceListener This class provides a simple listener for directing trace output to a text writer or stream, for example Console.Out or FileStream.
InstanceData A holder of instance data.
InstancesData A strongly typed collection containing InstanceData for a counter.
PerformanceCounter Performance Counter component. This class provides support for NT Performance counters. It handles both the existing counters (accesible by Perf Registry Interface) and user defined (extensible) counters. This class is a part of a larger framework, that includes the perf dll object and perf service.
PerformanceCounterCategory A Performance counter category object.
PerformanceCounterInstaller [To be supplied.]
PerformanceCounterManager [To be supplied.]
Process Provides access to local and remote processes. Enables you to start and stop system processes.
ProcessModule A process module component represents a DLL or EXE loaded into a particular process. Using this component, you can determine information about the module.
ProcessStartInfo A set of values used to specify a process to start. This is used in conjunction with the Process component.
ProcessThread Represents a thread running in a process on a machine. This can be use to obtain information about the thread, such as it's performance characteristics. This is returned from the ProcessThread property.
SerializableRegistryKey [To be supplied.]
StackFrame [To be supplied.]
StackTrace [To be supplied.]
Switch Provides an abstract (in Visual Basic MustInherit) base class to create new debugging and tracing switches.
TextWriterTraceListener Directs tracing or debugging output to a TextWriter or to a Stream, such as Console.Out or FileStream.
Trace Provides a set of properties and methods to trace the execution of your code.
TraceListener Provides the abstract (MustInherit) base class for the listeners who monitor trace and debug output.
TraceListeners Provides a thread-safe list of TraceListeners. A thread-safe list is synchronized.
TraceSwitch Provides a multi-level switch to enable or disable tracing and debug output for a compiled application or framework.

Interfaces

Interface Description
ICollectData [To be supplied.]

Structures

Structure Description
CounterSample A struct holding the raw data for a performance counter.

Delegates

Delegate Description
EventLogEventHandler [To be supplied.]

Enumerations

Enumeration Description
EventLogEntryType Specifies the event type of the event log entry.
PerformanceCounterType Enum of friendly names to counter types (maps directory to the native types)
ProcessPriorityClass A category of priority for a process. Threads within a process run at a priority which is relative to the process priority class.
ProcessWindowStyle A set of values indicating how the window should appear when starting a process.
ThreadPriorityLevel Specifies the priority level of a thread. The priority level is not an absolute level, but instead contributes to the actual thread priority by considering the priority class of the process.
ThreadState Specifies the execution state of a thread.
ThreadWaitReason Specifies the reason a thread is waiting.
TraceLevel Specifies what messages to output for debugging and tracing.