Partager via


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: String

    Description of the diagnostic data adapter or resource name that contains the description.

  • isResourceName
    Type: Boolean

    true 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

See Also

Reference

DataCollectorDescriptionAttribute Class

DataCollectorDescriptionAttribute Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectorDescriptionAttribute

Other Resources

How to: Create a Diagnostic Data Adapter