Share via


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
String

Path of the destination

concatFiles
List<String>

List containing paths of the source files

deleteSource
Boolean

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

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

Applies to