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

Core.ConcurrentAppend 方法

定义

在服务器上同步执行并发追加。 将发生追加的偏移量由服务器确定

public static void ConcurrentAppend (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);
static member ConcurrentAppend : string * bool * byte[] * int * int * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse -> unit
Public Shared Sub ConcurrentAppend (path As String, autoCreate As Boolean, dataBytes As Byte(), offset As Integer, length As Integer, client As AdlsClient, req As RequestOptions, resp As OperationResponse)

参数

path
String

文件的路径

autoCreate
Boolean
dataBytes
Byte[]

要写入文件的字节数组

offset
Int32

字节数组中的偏移量

length
Int32

要从偏移量写入的字节数

client
AdlsClient

ADLS 客户端

req
RequestOptions

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

resp
OperationResponse

存储 Http 请求的响应/输出

适用于