DataCollectorDescriptionAttribute Constructor (String, Boolean)
Initializes a DataCollectorDescriptionAttribute by using the description of the data collector.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub New ( _
description As String, _
isResourceName As Boolean _
)
public DataCollectorDescriptionAttribute(
string description,
bool isResourceName
)
public:
DataCollectorDescriptionAttribute(
String^ description,
bool isResourceName
)
new :
description:string *
isResourceName:bool -> DataCollectorDescriptionAttribute
public function DataCollectorDescriptionAttribute(
description : String,
isResourceName : boolean
)
Parameters
description
Type: StringDescription of the diagnostic data adapter or resource name that contains the description.
isResourceName
Type: Booleantrue to indicate that the string that is provided for the description is a resource name; false to indicate that the string that is provided should be used directly as the description for the data collector.
.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
DataCollectorDescriptionAttribute Class
DataCollectorDescriptionAttribute Overload
Microsoft.VisualStudio.TestTools.Execution Namespace
DataCollectorDescriptionAttribute