言語

InstrumentationClassAttribute コンストラクター

定義

InstrumentationClassAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
InstrumentationClassAttribute(InstrumentationType)

この型がInstrumentationClassAttribute属性を持つ別の型から派生した場合、または最上位のインストルメンテーション クラス (基底クラスのないインスタンスまたは抽象クラス、__ExtrinsicEventから派生したイベントなど) である場合に使用される、InstrumentationClassAttribute クラスの新しいインスタンスを初期化します。

InstrumentationClassAttribute(InstrumentationType, String)

既存の基底クラスのスキーマを持つ InstrumentationClassAttribute クラスの新しいインスタンスを初期化します。 クラスには、既存の WMI 基本クラスのプロパティに対する適切なメンバー定義が含まれている必要があります。

InstrumentationClassAttribute(InstrumentationType)

この型がInstrumentationClassAttribute属性を持つ別の型から派生した場合、または最上位のインストルメンテーション クラス (基底クラスのないインスタンスまたは抽象クラス、__ExtrinsicEventから派生したイベントなど) である場合に使用される、InstrumentationClassAttribute クラスの新しいインスタンスを初期化します。

public:
 InstrumentationClassAttribute(System::Management::Instrumentation::InstrumentationType instrumentationType);
public InstrumentationClassAttribute(System.Management.Instrumentation.InstrumentationType instrumentationType);
new System.Management.Instrumentation.InstrumentationClassAttribute : System.Management.Instrumentation.InstrumentationType -> System.Management.Instrumentation.InstrumentationClassAttribute
Public Sub New (instrumentationType As InstrumentationType)

パラメーター

instrumentationType
InstrumentationType

このクラスによって提供されるインストルメンテーションの型。

注釈

.NET Framework のセキュリティ

直接呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されたコードでは使用できません。 詳細については、「 部分信頼コードからのライブラリの使用」を参照してください。

適用対象

InstrumentationClassAttribute(InstrumentationType, String)

既存の基底クラスのスキーマを持つ InstrumentationClassAttribute クラスの新しいインスタンスを初期化します。 クラスには、既存の WMI 基本クラスのプロパティに対する適切なメンバー定義が含まれている必要があります。

public:
 InstrumentationClassAttribute(System::Management::Instrumentation::InstrumentationType instrumentationType, System::String ^ managedBaseClassName);
public InstrumentationClassAttribute(System.Management.Instrumentation.InstrumentationType instrumentationType, string managedBaseClassName);
new System.Management.Instrumentation.InstrumentationClassAttribute : System.Management.Instrumentation.InstrumentationType * string -> System.Management.Instrumentation.InstrumentationClassAttribute
Public Sub New (instrumentationType As InstrumentationType, managedBaseClassName As String)

パラメーター

instrumentationType
InstrumentationType

このクラスによって提供されるインストルメンテーションの型。

managedBaseClassName
String

基底クラスの名前。

注釈

.NET Framework のセキュリティ

直接呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されたコードでは使用できません。 詳細については、「 部分信頼コードからのライブラリの使用」を参照してください。

適用対象