InstrumentationClassAttribute.InstrumentationType Property


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

Gets or sets the type of instrumentation provided by this class.

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

public InstrumentationType InstrumentationType { get; }

Property Value

Type: System.Management.Instrumentation.InstrumentationType

Returns an InstrumentationType enumeration value containing the type of instrumentation provided by this class.

Contains an InstrumentationType value that indicates whether this is an instrumented event, instance, or abstract 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