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: UriThe URI for the diagnostic data adapter.
collectorDisplayName
Type: StringThe display name for the diagnostic data adapter.
agentName
Type: StringThe name of the test agent for this data entry.
agentDisplayName
Type: StringThe display name of the test agent for this data entry.
isFromRemoteAgent
Type: Booleantrue if the agent is on a remote machine; false if the agent is on the local machine.
attachments
Type: IList<IDataAttachment>A list of IDataAttachment objects for this data entry.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.