Share via


DataCollectorFriendlyNameAttribute Constructors

Definition

Overloads

DataCollectorFriendlyNameAttribute(String)

Initializes an instance of the DataCollectorFriendlyNameAttribute(String) class with the provided friendly name for the diagnostic data adapter.

DataCollectorFriendlyNameAttribute(String, Boolean)

Initializes an instance of the DataCollectorFriendlyNameAttribute(String) class with the friendly name and indicates whether the string is a resource name.

DataCollectorFriendlyNameAttribute(String)

Initializes an instance of the DataCollectorFriendlyNameAttribute(String) class with the provided friendly name for the diagnostic data adapter.

public:
 DataCollectorFriendlyNameAttribute(System::String ^ friendlyName);
public DataCollectorFriendlyNameAttribute (string friendlyName);
new Microsoft.VisualStudio.TestTools.Execution.DataCollectorFriendlyNameAttribute : string -> Microsoft.VisualStudio.TestTools.Execution.DataCollectorFriendlyNameAttribute
Public Sub New (friendlyName As String)

Parameters

friendlyName
String

Friendly name of the diagnostic data adapter.

Applies to

DataCollectorFriendlyNameAttribute(String, Boolean)

Initializes an instance of the DataCollectorFriendlyNameAttribute(String) class with the friendly name and indicates whether the string is a resource name.

public:
 DataCollectorFriendlyNameAttribute(System::String ^ friendlyName, bool isResourceName);
public DataCollectorFriendlyNameAttribute (string friendlyName, bool isResourceName);
new Microsoft.VisualStudio.TestTools.Execution.DataCollectorFriendlyNameAttribute : string * bool -> Microsoft.VisualStudio.TestTools.Execution.DataCollectorFriendlyNameAttribute
Public Sub New (friendlyName As String, isResourceName As Boolean)

Parameters

friendlyName
String

Friendly name of the diagnostic data adapter or resource name that contains the friendly name.

isResourceName
Boolean

true indicates that the string that is provided for the friendly name is a resource name. false indicates that the string that is provided should be used directly as the friendly name for the adapter.

Applies to