Partager via


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: Uri

    The uniform resource identifier (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