AdlsClient.ConcatenateFiles(String, List<String>, Boolean, CancellationToken) Method

Definition

Synchronous API to concatenate source files to a destination file

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

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

Applies to