DataCollectorEnabledByDefaultAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
DataCollectorEnabledByDefaultAttribute()
Initializes an instance of the DataCollectorEnabledByDefaultAttribute class, which is enabled by default.
public:
DataCollectorEnabledByDefaultAttribute();
public DataCollectorEnabledByDefaultAttribute ();
Public Sub New ()
Applies to
DataCollectorEnabledByDefaultAttribute(Boolean)
Initializes an instance of the DataCollectorEnabledByDefaultAttribute class by using the provided value to determine whether the adapter is enabled by default.
public:
DataCollectorEnabledByDefaultAttribute(bool isEnabledByDefault);
public DataCollectorEnabledByDefaultAttribute (bool isEnabledByDefault);
new Microsoft.VisualStudio.TestTools.Execution.DataCollectorEnabledByDefaultAttribute : bool -> Microsoft.VisualStudio.TestTools.Execution.DataCollectorEnabledByDefaultAttribute
Public Sub New (isEnabledByDefault As Boolean)
Parameters
- isEnabledByDefault
- Boolean
true to enable the collector by default; otherwise, false.