ObjectGetOptions コンストラクター

定義

WMI オブジェクトを取得するために、 ObjectGetOptions クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
ObjectGetOptions()

既定値を使用して、WMI オブジェクトを取得するために、 ObjectGetOptions クラスの新しいインスタンスを初期化します。 これはパラメーターなしのコンストラクターです。

ObjectGetOptions(ManagementNamedValueCollection)

指定したプロバイダー固有のコンテキストを使用して、WMI オブジェクトを取得するために、 ObjectGetOptions クラスの新しいインスタンスを初期化します。

ObjectGetOptions(ManagementNamedValueCollection, TimeSpan, Boolean)

指定したオプション値を使用して、WMI オブジェクトを取得するために、 ObjectGetOptions クラスの新しいインスタンスを初期化します。

ObjectGetOptions()

ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs

既定値を使用して、WMI オブジェクトを取得するために、 ObjectGetOptions クラスの新しいインスタンスを初期化します。 これはパラメーターなしのコンストラクターです。

public:
 ObjectGetOptions();
public ObjectGetOptions();
Public Sub New ()

注釈

.NET Framework のセキュリティ

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

適用対象

ObjectGetOptions(ManagementNamedValueCollection)

ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs

指定したプロバイダー固有のコンテキストを使用して、WMI オブジェクトを取得するために、 ObjectGetOptions クラスの新しいインスタンスを初期化します。

public:
 ObjectGetOptions(System::Management::ManagementNamedValueCollection ^ context);
public ObjectGetOptions(System.Management.ManagementNamedValueCollection context);
new System.Management.ObjectGetOptions : System.Management.ManagementNamedValueCollection -> System.Management.ObjectGetOptions
Public Sub New (context As ManagementNamedValueCollection)

パラメーター

context
ManagementNamedValueCollection

プロバイダーに渡されるプロバイダー固有の名前付き値ペアコンテキスト オブジェクト。

注釈

.NET Framework のセキュリティ

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

適用対象

ObjectGetOptions(ManagementNamedValueCollection, TimeSpan, Boolean)

ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs
ソース:
ManagementOptions.cs

指定したオプション値を使用して、WMI オブジェクトを取得するために、 ObjectGetOptions クラスの新しいインスタンスを初期化します。

public:
 ObjectGetOptions(System::Management::ManagementNamedValueCollection ^ context, TimeSpan timeout, bool useAmendedQualifiers);
public ObjectGetOptions(System.Management.ManagementNamedValueCollection context, TimeSpan timeout, bool useAmendedQualifiers);
new System.Management.ObjectGetOptions : System.Management.ManagementNamedValueCollection * TimeSpan * bool -> System.Management.ObjectGetOptions
Public Sub New (context As ManagementNamedValueCollection, timeout As TimeSpan, useAmendedQualifiers As Boolean)

パラメーター

context
ManagementNamedValueCollection

プロバイダーに渡されるプロバイダー固有の名前付き値ペアコンテキスト オブジェクト。

timeout
TimeSpan

タイムアウトするまでの操作の実行時間。既定値は TimeSpan.MaxValue です

useAmendedQualifiers
Boolean

true 返されたオブジェクトに修正された (ロケールに対応する) 修飾子を含める必要がある場合。それ以外の場合は false

注釈

.NET Framework のセキュリティ

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

適用対象