Share via


InstrumentationClassAttribute.InstrumentationType 属性

定义

获取或设置该类提供的检测的类型。

public:
 property System::Management::Instrumentation::InstrumentationType InstrumentationType { System::Management::Instrumentation::InstrumentationType get(); };
public System.Management.Instrumentation.InstrumentationType InstrumentationType { get; }
member this.InstrumentationType : System.Management.Instrumentation.InstrumentationType
Public ReadOnly Property InstrumentationType As InstrumentationType

属性值

返回 InstrumentationType 枚举值,该值包含此类提供的检测的类型。

注解

属性值

包含一个 InstrumentationType 值,该值指示这是检测的事件、实例还是抽象类。

.NET Framework 安全性

对直接调用方的完全信任。 此成员不能由部分信任的代码使用。 有关详细信息,请参阅 使用部分受信任的代码中的库

适用于