PerformanceCounterAttribute.HasBaseCounter Method

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.

Used to determine if the counter being installed has a base counter associated with it.

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

Syntax

'Declaration
PublicFunctionHasBaseCounterAs Boolean
public bool HasBaseCounter()
public:
bool HasBaseCounter()
publicfunctionHasBaseCounter() : boolean

Return Value

True if counter being installed has a base counter associated with it.

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.