Share via


CollectorDataEntry Constructors

Definition

Overloads

CollectorDataEntry(Uri, String, String, String, Boolean)

Initializes a new instance of the CollectorDataEntry class by using the provided parameter values.

CollectorDataEntry(Uri, String, String, String, Boolean, IList<IDataAttachment>)

Initializes a new instance of the CollectorDataEntry class by using the provided parameter values.

CollectorDataEntry(Uri, String, String, String, Boolean)

Initializes a new instance of the CollectorDataEntry class by using the provided parameter values.

public:
 CollectorDataEntry(Uri ^ uri, System::String ^ collectorDisplayName, System::String ^ agentName, System::String ^ agentDisplayName, bool isFromRemoteAgent);
public CollectorDataEntry (Uri uri, string collectorDisplayName, string agentName, string agentDisplayName, bool isFromRemoteAgent);
new Microsoft.VisualStudio.TestTools.Common.CollectorDataEntry : Uri * string * string * string * bool -> Microsoft.VisualStudio.TestTools.Common.CollectorDataEntry
Public Sub New (uri As Uri, collectorDisplayName As String, agentName As String, agentDisplayName As String, isFromRemoteAgent As Boolean)

Parameters

uri
Uri

The uniform resource identifier (URI) for the diagnostic data adapter.

collectorDisplayName
String

The display name for the diagnostic data adapter.

agentName
String

The name of the test agent for this data entry.

agentDisplayName
String

The display name of the test agent for this data entry.

isFromRemoteAgent
Boolean

true if the agent is on a remote machine; false if the agent is on the local machine.

Applies to

CollectorDataEntry(Uri, String, String, String, Boolean, IList<IDataAttachment>)

Initializes a new instance of the CollectorDataEntry class by using the provided parameter values.

public:
 CollectorDataEntry(Uri ^ uri, System::String ^ collectorDisplayName, System::String ^ agentName, System::String ^ agentDisplayName, bool isFromRemoteAgent, System::Collections::Generic::IList<Microsoft::VisualStudio::TestTools::Common::IDataAttachment ^> ^ attachments);
public CollectorDataEntry (Uri uri, string collectorDisplayName, string agentName, string agentDisplayName, bool isFromRemoteAgent, System.Collections.Generic.IList<Microsoft.VisualStudio.TestTools.Common.IDataAttachment> attachments);
new Microsoft.VisualStudio.TestTools.Common.CollectorDataEntry : Uri * string * string * string * bool * System.Collections.Generic.IList<Microsoft.VisualStudio.TestTools.Common.IDataAttachment> -> Microsoft.VisualStudio.TestTools.Common.CollectorDataEntry
Public Sub New (uri As Uri, collectorDisplayName As String, agentName As String, agentDisplayName As String, isFromRemoteAgent As Boolean, attachments As IList(Of IDataAttachment))

Parameters

uri
Uri

The URI for the diagnostic data adapter.

collectorDisplayName
String

The display name for the diagnostic data adapter.

agentName
String

The name of the test agent for this data entry.

agentDisplayName
String

The display name of the test agent for this data entry.

isFromRemoteAgent
Boolean

true if the agent is on a remote machine; false if the agent is on the local machine.

attachments
IList<IDataAttachment>

A list of IDataAttachment objects for this data entry.

Applies to