HandleCollector 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| HandleCollector(String, Int32) |
핸들 컬렉션을 시작할 이름과 임계값을 사용하여 클래스의 HandleCollector 새 인스턴스를 초기화합니다. |
| HandleCollector(String, Int32, Int32) |
이름, 핸들 컬렉션을 시작할 임계값 및 핸들 컬렉션이 발생해야 하는 임계값을 사용하여 클래스의 HandleCollector 새 인스턴스를 초기화합니다. |
HandleCollector(String, Int32)
- Source:
- HandleCollector.cs
- Source:
- HandleCollector.cs
- Source:
- HandleCollector.cs
- Source:
- HandleCollector.cs
- Source:
- 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)
- Source:
- HandleCollector.cs
- Source:
- HandleCollector.cs
- Source:
- HandleCollector.cs
- Source:
- HandleCollector.cs
- Source:
- 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.