Share via


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

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, _
    attachments As IList(Of IDataAttachment) _
)
public CollectorDataEntry(
    Uri uri,
    string collectorDisplayName,
    string agentName,
    string agentDisplayName,
    bool isFromRemoteAgent,
    IList<IDataAttachment> attachments
)
public:
CollectorDataEntry(
    Uri^ uri, 
    String^ collectorDisplayName, 
    String^ agentName, 
    String^ agentDisplayName, 
    bool isFromRemoteAgent, 
    IList<IDataAttachment^>^ attachments
)
new : 
        uri:Uri * 
        collectorDisplayName:string * 
        agentName:string * 
        agentDisplayName:string * 
        isFromRemoteAgent:bool * 
        attachments:IList<IDataAttachment> -> CollectorDataEntry
public function CollectorDataEntry(
    uri : Uri, 
    collectorDisplayName : String, 
    agentName : String, 
    agentDisplayName : String, 
    isFromRemoteAgent : boolean, 
    attachments : IList<IDataAttachment>
)

Parameters

  • uri
    Type: Uri

    The URI for the diagnostic data adapter.

  • collectorDisplayName
    Type: String

    The display name for the diagnostic data adapter.

  • agentName
    Type: String

    The name of the test agent for this data entry.

  • agentDisplayName
    Type: String

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

  • isFromRemoteAgent
    Type: Boolean

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

.NET Framework Security

See Also

Reference

CollectorDataEntry Class

CollectorDataEntry Overload

Microsoft.VisualStudio.TestTools.Common Namespace

IDataAttachment