Redigera

Dela via


Instrumentation Class

Definition

Provides helper functions for exposing events and data for management. There is a single instance of this class per application domain.

Note: the WMI .NET libraries are now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.

public ref class Instrumentation
public class Instrumentation
type Instrumentation = class
Public Class Instrumentation
Inheritance
Instrumentation

Constructors

Instrumentation()

Initializes a new instance of the Instrumentation class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Fire(Object)

Raises a management event.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsAssemblyRegistered(Assembly)

Determines if the instrumentation schema of the specified assembly has already been correctly registered with WMI.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Publish(Object)

Makes an instance visible through management instrumentation.

RegisterAssembly(Assembly)

Registers the management instance or event classes in the specified assembly with WMI. This ensures that the instrumentation schema is accessible to System.Management client applications.

Revoke(Object)

Makes an instance that was previously published through the Publish(Object) method no longer visible through management instrumentation.

SetBatchSize(Type, Int32)

Specifies the maximum number of objects of the specified type to be provided at a time.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to