Sdílet prostřednictvím


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

Toto rozhraní API podporuje infrastrukturu rozhraní .NET Framework a není určeno pro použití přímo v kódu.

Inicializuje novou instanci CollectorDataEntry třídy pomocí hodnot uvedených parametrů.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
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>
)

Parametry

  • uri
    Typ: Uri

    Identifikátor URI diagnostických dat adaptéru.

  • collectorDisplayName
    Typ: String

    Zobrazovaný název adaptéru diagnostických dat.

  • agentName
    Typ: String

    Název agenta test této položky dat.

  • agentDisplayName
    Typ: String

    Zobrazovaný název agenta test pro tuto položku data.

  • isFromRemoteAgent
    Typ: Boolean

    truePokud agent je ve vzdáleném počítači; falsePokud agent v místním počítači.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

CollectorDataEntry Třída

CollectorDataEntry – přetížení

Microsoft.VisualStudio.TestTools.Common – obor názvů

IDataAttachment