DataCollectorEnabledByDefaultAttribute Constructor (Boolean)
Initializes an instance of the DataCollectorEnabledByDefaultAttribute class by using the provided value to determine whether the adapter is enabled by default.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub New ( _
isEnabledByDefault As Boolean _
)
public DataCollectorEnabledByDefaultAttribute(
bool isEnabledByDefault
)
public:
DataCollectorEnabledByDefaultAttribute(
bool isEnabledByDefault
)
new :
isEnabledByDefault:bool -> DataCollectorEnabledByDefaultAttribute
public function DataCollectorEnabledByDefaultAttribute(
isEnabledByDefault : boolean
)
Parameters
isEnabledByDefault
Type: Booleantrue to enable the collector by default; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataCollectorEnabledByDefaultAttribute Class
DataCollectorEnabledByDefaultAttribute Overload
Microsoft.VisualStudio.TestTools.Execution Namespace
DataCollectorEnabledByDefaultAttribute