Share via


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

  • path
    Type: System.String
    The path of the file on the client file system.
  • deleteFile
    Type: System.Boolean
    true to delete the file after the transfer is completed.

.NET Framework Security

See Also

Reference

FileTransferInformation Class

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectionContext