次の方法で共有


InstrumentationClassAttribute クラス

クラスがイベントまたはインスタンスの実装を提供することを指定します。

この型のすべてのメンバの一覧については、InstrumentationClassAttribute メンバ を参照してください。

System.Object
   System.Attribute
      System.Management.Instrumentation.InstrumentationClassAttribute

<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Struct)>
Public Class InstrumentationClassAttribute   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class InstrumentationClassAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Class |
   AttributeTargets::Struct)]
public __gc class InstrumentationClassAttribute : public Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)
class InstrumentationClassAttribute extends Attribute

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

必要条件

名前空間: System.Management.Instrumentation

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System.Management (System.Management.dll 内)

参照

InstrumentationClassAttribute メンバ | System.Management.Instrumentation 名前空間