HandleCollector コンストラクター

定義

オーバーロード

HandleCollector(String, Int32)

名前およびハンドル コレクションを開始するしきい値を使用して、HandleCollector クラスの新しいインスタンスを初期化します。

HandleCollector(String, Int32, Int32)

名前、ハンドル コレクションを開始するしきい値、およびハンドル コレクションを強制的に実行するしきい値を使用して、HandleCollector クラスの新しいインスタンスを初期化します。

HandleCollector(String, Int32)

ソース:
HandleCollector.cs
ソース:
HandleCollector.cs
ソース:
HandleCollector.cs

名前およびハンドル コレクションを開始するしきい値を使用して、HandleCollector クラスの新しいインスタンスを初期化します。

public:
 HandleCollector(System::String ^ name, int initialThreshold);
public HandleCollector (string name, int initialThreshold);
public HandleCollector (string? name, int initialThreshold);
new System.Runtime.InteropServices.HandleCollector : string * int -> System.Runtime.InteropServices.HandleCollector
Public Sub New (name As String, initialThreshold As Integer)

パラメーター

name
String

コレクターの名前。 このパラメーターにより、ハンドルの種類を個別に追跡するコレクターに名前を付けることができます。

initialThreshold
Int32

コレクションを開始するポイントを指定する値。

例外

initialThreshold パラメーターが 0 未満です。

適用対象

HandleCollector(String, Int32, Int32)

ソース:
HandleCollector.cs
ソース:
HandleCollector.cs
ソース:
HandleCollector.cs

名前、ハンドル コレクションを開始するしきい値、およびハンドル コレクションを強制的に実行するしきい値を使用して、HandleCollector クラスの新しいインスタンスを初期化します。

public:
 HandleCollector(System::String ^ name, int initialThreshold, int maximumThreshold);
public HandleCollector (string name, int initialThreshold, int maximumThreshold);
public HandleCollector (string? name, int initialThreshold, int maximumThreshold);
new System.Runtime.InteropServices.HandleCollector : string * int * int -> System.Runtime.InteropServices.HandleCollector
Public Sub New (name As String, initialThreshold As Integer, maximumThreshold As Integer)

パラメーター

name
String

コレクターの名前。 このパラメーターにより、ハンドルの種類を個別に追跡するコレクターに名前を付けることができます。

initialThreshold
Int32

コレクションを開始するポイントを指定する値。

maximumThreshold
Int32

コレクションを強制的に実行するポイントを指定する値。 この値は、使用できるハンドルの最大数に設定する必要があります。

例外

initialThreshold パラメーターが 0 未満です。

または

maximumThreshold パラメーターが 0 未満です。

maximumThreshold パラメーターが initialThreshold パラメーター未満です。

適用対象