Compartilhar via


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

Indicates that this type can be raised to an EventSource.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Struct, AllowMultiple := False)> _
PublicNotInheritableClassInstrumentationTypeAttribute _
    Inherits InstrumentationClassAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false)]
publicsealedclassInstrumentationTypeAttribute : InstrumentationClassAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Struct, AllowMultiple = false)]
publicref classInstrumentationTypeAttributesealed : public InstrumentationClassAttribute
publicfinalclass InstrumentationTypeAttribute extends InstrumentationClassAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    System.Management.Instrumentation.InstrumentationClassAttribute
      Microsoft.Practices.EnterpriseLibrary.Logging.InstrumentationTypeAttribute

See Also

InstrumentationTypeAttribute Members

Microsoft.Practices.EnterpriseLibrary.Logging 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.