你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Core.ConcatAsync 方法

定义

重载

ConcatAsync(String, List<String>, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

将源文件连接到目标文件。 默认情况下,它不会删除源目录

ConcatAsync(String, List<String>, Boolean, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

将源文件连接到目标文件

ConcatAsync(String, List<String>, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

将源文件连接到目标文件。 默认情况下,它不会删除源目录

public static System.Threading.Tasks.Task ConcatAsync (string path, System.Collections.Generic.List<string> sourceFiles, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member ConcatAsync : string * System.Collections.Generic.List<string> * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ConcatAsync (path As String, sourceFiles As List(Of String), client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task

参数

path
String

目标的路径

sourceFiles
List<String>

包含源文件路径的列表

client
AdlsClient

ADLS 客户端

req
RequestOptions

用于更改 Http 请求行为的选项

resp
OperationResponse

存储 Http 请求的响应/输出

cancelToken
CancellationToken

CancellationToken 取消请求

返回

适用于

ConcatAsync(String, List<String>, Boolean, AdlsClient, RequestOptions, OperationResponse, CancellationToken)

将源文件连接到目标文件

public static System.Threading.Tasks.Task ConcatAsync (string path, System.Collections.Generic.List<string> sourceFiles, bool deleteSourceDirectory, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member ConcatAsync : string * System.Collections.Generic.List<string> * bool * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ConcatAsync (path As String, sourceFiles As List(Of String), deleteSourceDirectory As Boolean, client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task

参数

path
String

目标的路径

sourceFiles
List<String>

包含源文件路径的列表

deleteSourceDirectory
Boolean

如果为 true,则如果连接了源目录下的所有文件,则删除源目录

client
AdlsClient

ADLS 客户端

req
RequestOptions

用于更改 Http 请求行为的选项

resp
OperationResponse

存储 Http 请求的响应/输出

cancelToken
CancellationToken

CancellationToken 取消请求

返回

适用于