DataCollectorFriendlyNameAttribute Constructor (String, Boolean)
Initializes an instance of the DataCollectorFriendlyNameAttribute class with the friendly name and indicates whether the string is a resource name.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub New ( _
friendlyName As String, _
isResourceName As Boolean _
)
public DataCollectorFriendlyNameAttribute(
string friendlyName,
bool isResourceName
)
public:
DataCollectorFriendlyNameAttribute(
String^ friendlyName,
bool isResourceName
)
new :
friendlyName:string *
isResourceName:bool -> DataCollectorFriendlyNameAttribute
public function DataCollectorFriendlyNameAttribute(
friendlyName : String,
isResourceName : boolean
)
Parameters
- friendlyName
Type: System.String
Friendly name of the diagnostic data adapter or resource name that contains the friendly name.
- isResourceName
Type: System.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.
.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
DataCollectorFriendlyNameAttribute Class
DataCollectorFriendlyNameAttribute Overload
Microsoft.VisualStudio.TestTools.Execution Namespace
DataCollectorFriendlyNameAttribute