FileTransferInformation 构造函数

初始化 FileTransferInformation 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

语法

声明
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
)

参数

  • path
    类型:System.String
    客户端文件系统上文件的路径。
  • deleteFile
    类型:System.Boolean
    如果在传输完成后删除文件,则为 true。

.NET Framework 安全性

请参见

参考

FileTransferInformation 类

Microsoft.VisualStudio.TestTools.Execution 命名空间

DataCollectionContext