PerformanceCounterCategory.CategoryType 속성

정의

성능 카운터 범주 형식을 가져옵니다.

public:
 property System::Diagnostics::PerformanceCounterCategoryType CategoryType { System::Diagnostics::PerformanceCounterCategoryType get(); };
public System.Diagnostics.PerformanceCounterCategoryType CategoryType { get; }
member this.CategoryType : System.Diagnostics.PerformanceCounterCategoryType
Public ReadOnly Property CategoryType As PerformanceCounterCategoryType

속성 값

PerformanceCounterCategoryType 값 중 하나입니다.

설명

속성은 CategoryType 개체에 여러 인스턴스가 PerformanceCounterCategory 있을 수 있는지 여부를 나타냅니다. 가능한 값은 , SingleInstance또는 Unknown입니다MultiInstance.

성능 카운터 범주에는 단일 instance 및 다중 instance 두 가지 유형이 있습니다. 기본적으로 범주는 만들 때 단일 instance 다른 instance 추가될 때 다중 instance 됩니다. 범주는 애플리케이션 설정 되 고 인스턴스가 런타임에 추가 되 면 생성 됩니다. .NET Framework 버전 1.0 및 1.1에서는 성능 카운터 범주가 다중 instance 또는 단일 instance 인지 알 필요가 없습니다. .NET Framework 2.0 PerformanceCounterCategoryType 에서 열거형은 성능 카운터에 여러 인스턴스가 있을 수 있는지 여부를 나타내는 데 사용됩니다.

적용 대상