Compartilhar via


DataCollectorDescriptionAttribute Class

Definition

Attaches a description to a custom diagnostic data adapter.

public ref class DataCollectorDescriptionAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class DataCollectorDescriptionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type DataCollectorDescriptionAttribute = class
    inherit Attribute
Public NotInheritable Class DataCollectorDescriptionAttribute
Inherits Attribute
Inheritance
DataCollectorDescriptionAttribute
Attributes

Constructors

DataCollectorDescriptionAttribute(String, Boolean)

Initializes a DataCollectorDescriptionAttribute by using the description of the data collector.

DataCollectorDescriptionAttribute(String)

Initializes an instance of the DataCollectorDescriptionAttribute by using the provided description of the diagnostic data adapter.

Properties

Description

Gets the description of the diagnostic data adapter.

IsResourceName

Indicates whether the string that is provided for the description is a resource name or the actual description for the diagnostic data adapter.

Applies to