FileTransferInformation Constructor
Initializes a new instance of the FileTransferInformation class.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub New ( _
context As DataCollectionContext, _
path As String, _
deleteFile As Boolean _
)
public FileTransferInformation(
DataCollectionContext context,
string path,
bool deleteFile
)
public:
FileTransferInformation(
DataCollectionContext^ context,
String^ path,
bool deleteFile
)
new :
context:DataCollectionContext *
path:string *
deleteFile:bool -> FileTransferInformation
public function FileTransferInformation(
context : DataCollectionContext,
path : String,
deleteFile : boolean
)
Parameters
context
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContextA DataCollectionContext object.
path
Type: StringThe path of the file on the client file system.
deleteFile
Type: Booleantrue to delete the file after the transfer is completed.
.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.