Core.ConcurrentAppendAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs concurrent append asynchronously at server. The offset at which append will occur is determined by server
public static System.Threading.Tasks.Task ConcurrentAppendAsync (string path, bool autoCreate, byte[] dataBytes, int offset, int length, 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 ConcurrentAppendAsync : string * bool * byte[] * int * int * 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 ConcurrentAppendAsync (path As String, autoCreate As Boolean, dataBytes As Byte(), offset As Integer, length As Integer, client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task
Parameters
- path
- String
Path of the file
- autoCreate
- Boolean
- dataBytes
- Byte[]
Array of bytes to write to the file
- offset
- Int32
Offset in the byte array
- length
- Int32
Number of bytes to write from the offset
- client
- AdlsClient
ADLS Client
- req
- RequestOptions
Options to change behavior of the Http request
- resp
- OperationResponse
Stores the response/ouput of the Http request
- cancelToken
- CancellationToken
CancellationToken to cancel the request
Returns
Applies to
Azure SDK for .NET