DataCollectorFriendlyNameAttribute Class

Definition

Defines a friendly name for the diagnostic data adapter.

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

Constructors

DataCollectorFriendlyNameAttribute(String)

Initializes an instance of the DataCollectorFriendlyNameAttribute(String) class with the provided friendly name for the diagnostic data adapter.

DataCollectorFriendlyNameAttribute(String, Boolean)

Initializes an instance of the DataCollectorFriendlyNameAttribute(String) class with the friendly name and indicates whether the string is a resource name.

Properties

FriendlyName

Gets the user-friendly name for the diagnostic data adapter.

IsResourceName

Gets the value that indicates whether the friendly name is a resource name.

Applies to