Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

System.Management.Instrumentation Namespace

Provides the classes necessary for instrumenting applications for management and exposing their management information and events through WMI to potential consumers. Consumers such as Microsoft Application Center or Microsoft Operations Manager can then manage your application easily, and monitoring and configuring of your application is available for administrator scripts or other applications, both managed as well as unmanaged. Instrumentation of your application is easy to achieve using the InstrumentationClass custom attribute on classes you wish to expose, or using the provided BaseEvent and Instance base classes and the Instrumentation helper class.

Namespace hierarchy

Classes

Class Description
BaseEvent Represents classes derived from BaseEvent that are known to be management event classes. These derived classes inherit an implementation of IEvent that allows events to be fired through the Fire method.
DefaultManagementProjectInstaller Installs an instrumented assembly. This class is a default project installer for assemblies that contain management instrumentation and do not use other installers (such as services, or message queues). To use this default project installer, simply derive a class from DefaultManagementProjectInstaller inside the assembly. No methods need to be overridden.
IgnoreMemberAttribute Allows a particular member of an instrumented class to be ignored by management instrumentation
Instance Represents derived classes known to be management instrumentation instance classes. These derived classes inherit an implementation of IInstance that allows instances to be published through the Published property.
Instrumentation Provides helper functions for exposing events and data for management. There is a single instance of this class per application domain.
InstrumentationClassAttribute Specifies that a class provides event or instance instrumentation.
InstrumentedAttribute Specifies that this assembly provides management instrumentation. This attribute should appear one time per assembly.
ManagedNameAttribute Allows an instrumented class, or member of an instrumented class, to present an alternate name through management instrumentation.
ManagementInstaller Installs instrumented assemblies. Include an instance of this installer class in the project installer for an assembly that includes instrumentation.

Interfaces

Interface Description
IEvent Specifies a source of a management instrumentation event. Objects that implement this interface are known to be sources of management instrumentation events. Classes that do not derive from BaseEvent should implement this interface instead.
IInstance Specifies a source of a management instrumentation instance. Objects that implement this interface are known to be sources of management instrumentation instances. Classes that do not derive from Instance should implement this interface instead.

Enumerations

Enumeration Description
InstrumentationType Specifies the type of instrumentation provided by a class.

See Also

.NET Framework Class Library

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.