The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataCollectionSink::SendFileAsync Method (DataCollectionContext^, String^, String^, Boolean)
Sends an intermediate file asynchronously to the DataCollectionSink by using the parameters that are specified for this method.
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
public: void SendFileAsync( DataCollectionContext^ context, String^ path, String^ description, bool deleteFile )
Parameters
- context
-
Type:
Microsoft.VisualStudio.TestTools.Execution::DataCollectionContext^
An IBaseRunContext that describes the context within which the test is running. Cannot be null.
- path
-
Type:
System::String^
The local path where the file exists.
- description
-
Type:
System::String^
A short description of the file.
- deleteFile
-
Type:
System::Boolean
true to automatically delete the file after sending it; otherwise, false.
Show: