Share via


PerformanceCounterAttribute.BaseCounterType Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets and sets the base PerformanceCounter type. This is an optional property used when the counter being defined requires a base counter to operate, such as for averages, etc.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
PublicPropertyBaseCounterTypeAs PerformanceCounterType
public PerformanceCounterType BaseCounterType { get; set; }
public:
property PerformanceCounterType BaseCounterType {
    PerformanceCounterType get ();
    voidset (PerformanceCounterType value);
}
publicfunction getBaseCounterType () : PerformanceCounterType
publicfunction setBaseCounterType (value : PerformanceCounterType)

See Also

PerformanceCounterAttribute Class

Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.