Compartir a través de


PerformanceCounterAttribute Class

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.

Defines a PerformanceCounter. Used by the reflection-based installers to prepare a performance counter for installation.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Field)> _
PublicNotInheritableClassPerformanceCounterAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Field)]
publicsealedclassPerformanceCounterAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Field)]
publicref classPerformanceCounterAttributesealed : public Attribute
publicfinalclass PerformanceCounterAttribute extends Attribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterAttribute

See Also

PerformanceCounterAttribute Members

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.