Konstruktor CollectorDataEntry — (Uri, String, String, String, Boolean, IList<IDataAttachment>)
Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Inicjuje nowe wystąpienie CollectorDataEntry klasy przy użyciu wartości parametru dostarczone.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.Common
Zestaw: Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)
Składnia
'Deklaracja
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: System.Uri
Identyfikator URI dla karty danych diagnostycznych.
- collectorDisplayName
Typ: System.String
Wyświetlana nazwa karty danych diagnostycznych.
- agentName
Typ: System.String
Nazwa agenta badania dla tego wpisu danych.
- agentDisplayName
Typ: System.String
Nazwa wyświetlana agent badania dla tego wpisu danych.
- isFromRemoteAgent
Typ: System.Boolean
true Jeśli agent jest na komputerze zdalnym; falseJeśli agent jest na komputerze lokalnym.
- attachments
Typ: System.Collections.Generic.IList<IDataAttachment>
Lista IDataAttachment obiektów dla tego wpisu danych.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..
Zobacz też
Informacje
Przeciążenie CollectorDataEntry