Partager via


InstrumentationListenerAttribute 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 class that will listen for instrumentation events broadcast by other classes and report them to system services. This attribute is placed on the class that is to be listened to to define the class that will listen to it.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True)> _
PublicNotInheritableClassInstrumentationListenerAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true)]
publicsealedclassInstrumentationListenerAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true)]
publicref classInstrumentationListenerAttributesealed : public Attribute
publicfinalclass InstrumentationListenerAttribute extends Attribute

Inheritance Hierarchy

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

See Also

InstrumentationListenerAttribute 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.