CollectorDataEntry Constructor (Uri, String, String, String, Boolean)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the CollectorDataEntry class by using the provided parameter values.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
uri As Uri, _
collectorDisplayName As String, _
agentName As String, _
agentDisplayName As String, _
isFromRemoteAgent As Boolean _
)
public CollectorDataEntry(
Uri uri,
string collectorDisplayName,
string agentName,
string agentDisplayName,
bool isFromRemoteAgent
)
public:
CollectorDataEntry(
Uri^ uri,
String^ collectorDisplayName,
String^ agentName,
String^ agentDisplayName,
bool isFromRemoteAgent
)
new :
uri:Uri *
collectorDisplayName:string *
agentName:string *
agentDisplayName:string *
isFromRemoteAgent:bool -> CollectorDataEntry
public function CollectorDataEntry(
uri : Uri,
collectorDisplayName : String,
agentName : String,
agentDisplayName : String,
isFromRemoteAgent : boolean
)
Parameters
- uri
Type: System.Uri
The uniform resource identifier (URI) for the diagnostic data adapter.
- collectorDisplayName
Type: System.String
The display name for the diagnostic data adapter.
- agentName
Type: System.String
The name of the test agent for this data entry.
- agentDisplayName
Type: System.String
The display name of the test agent for this data entry.
- isFromRemoteAgent
Type: System.Boolean
true if the agent is on a remote machine; false if the agent is on the local machine.
.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.