CounterSet 클래스
정의
논리 카운터 집합을 정의합니다.Defines a set of logical counters.
public ref class CounterSet : IDisposable
public class CounterSet : IDisposable
type CounterSet = class
interface IDisposable
Public Class CounterSet
Implements IDisposable
- 상속
-
CounterSet
- 구현
예제
예제를 보려면 System.Diagnostics.PerformanceData를 참조하세요.For an example, see System.Diagnostics.PerformanceData.
설명
호출 된 Dispose 메서드 했으면 해당 공급자의 등록을 제거 하 고 모든 릴리스 관리 및 관리 되지 않는 리소스입니다.Call the Dispose method when you are finished to remove your provider's registration and to release all managed and unmanaged resources.
생성자
CounterSet(Guid, Guid, CounterSetInstanceType) |
CounterSet 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the CounterSet class. |
메서드
AddCounter(Int32, CounterType) |
지정된 카운터 식별자 및 형식을 사용하여 카운터 집합에 카운터를 추가합니다.Adds a counter to the counter set by using the specified counter identifier and type. |
AddCounter(Int32, CounterType, String) |
지정된 카운터 식별자, 카운터 형식 및 표시 이름을 사용하여 카운터 집합에 카운터를 추가합니다.Adds a counter to the counter set by using the specified counter identifier and type and a display name for the counter. |
CreateCounterSetInstance(String) |
카운터 집합의 인스턴스를 만듭니다.Creates an instance of the counter set. |
Dispose() |
이 개체에서 사용하는 관리되지 않는 리소스를 모두 해제합니다.Releases all unmanaged resources used by this object. |
Dispose(Boolean) |
이 개체에서 사용하는 관리되지 않는 모든 리소스를 해제하고, 관리되는 리소스를 선택적으로 해제합니다.Releases all unmanaged resources used by this object and optionally release the managed resources. |
Equals(Object) |
지정한 개체와 현재 개체가 같은지 여부를 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
Finalize() |
가비지 수집에서 개체를 회수해 넣기 전에 리소스를 해제합니다.Frees resources before the object is reclaimed by garbage collection. |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |