DataCollectorEnabledByDefaultAttribute Class

Definition

Designates that the diagnostic data adapter class is enabled by default when the adapter is listed in the Test Manager user interface (UI).

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

Constructors

DataCollectorEnabledByDefaultAttribute()

Initializes an instance of the DataCollectorEnabledByDefaultAttribute class, which is enabled by default.

DataCollectorEnabledByDefaultAttribute(Boolean)

Initializes an instance of the DataCollectorEnabledByDefaultAttribute class by using the provided value to determine whether the adapter is enabled by default.

Properties

IsEnabledByDefault

Gets or sets the enabled-by-default state.

Applies to