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
)
参数
- context
类型:Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
一个 DataCollectionContext 对象。
- path
类型:System.String
客户端文件系统上文件的路径。
- deleteFile
类型:System.Boolean
如果在传输完成后删除文件,则为 true。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。