AdlsClient.ConcatenateFilesAsync Method

Definition

Asynchronous API to concatenate source files to a destination file

public virtual System.Threading.Tasks.Task ConcatenateFilesAsync (string destination, System.Collections.Generic.List<string> concatFiles, bool deleteSource = false, System.Threading.CancellationToken cancelToken = default);
abstract member ConcatenateFilesAsync : string * System.Collections.Generic.List<string> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ConcatenateFilesAsync : string * System.Collections.Generic.List<string> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ConcatenateFilesAsync (destination As String, concatFiles As List(Of String), Optional deleteSource As Boolean = false, Optional cancelToken As CancellationToken = Nothing) As Task

Parameters

destination
System.String

Path of the destination

concatFiles
System.Collections.Generic.List<System.String>

List containing paths of the source files

deleteSource
System.Boolean

If true then deletes the source directory if all the files under it are concatenated

cancelToken
System.Threading.CancellationToken

CancellationToken to cancel the request

Returns

System.Threading.Tasks.Task

Applies to