InstrumentationClassAttribute Constructor (InstrumentationType, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the InstrumentationClassAttribute class that has schema for an existing base class. The class must contain proper member definitions for the properties of the existing WMI base class.

Namespace:   System.Management.Instrumentation
Assembly:  System.Management (in System.Management.dll)

public InstrumentationClassAttribute(
	InstrumentationType instrumentationType,
	string managedBaseClassName
)

Parameters

instrumentationType
Type: System.Management.Instrumentation.InstrumentationType

The type of instrumentation provided by this class.

managedBaseClassName
Type: System.String

The name of the base class.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: