CloudAppendBlob.AppendFromByteArrayAsync メソッド

定義

オーバーロード

AppendFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

バイト配列の内容を追加 BLOB にアップロードする非同期操作を開始します。この API は、複数のライター シナリオでは機能しない重複ブロックを回避するために、アペンド オフセット条件付きヘッダーを内部的に使用するため、1 つのライター シナリオでは厳密に使用する必要があります。

AppendFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

バイト配列の内容を追加 BLOB にアップロードする非同期操作を開始します。この API は、複数のライター シナリオでは機能しない重複ブロックを回避するために、アペンド オフセット条件付きヘッダーを内部的に使用するため、1 つのライター シナリオでは厳密に使用する必要があります。

AppendFromByteArrayAsync(Byte[], Int32, Int32)

バイト配列の内容を追加 BLOB に追加する非同期操作を開始します。 単一ライターのシナリオにのみ推奨されます。

AppendFromByteArrayAsync(Byte[], Int32, Int32, CancellationToken)

バイト配列の内容を追加 BLOB に追加する非同期操作を開始します。 単一ライターのシナリオにのみ推奨されます。

AppendFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext)

バイト配列の内容を追加 BLOB に追加する非同期操作を開始します。この API は、複数のライター シナリオでは機能しない重複ブロックを回避するために、アペンド オフセット条件付きヘッダーを内部的に使用するため、1 つのライター シナリオでは厳密に使用する必要があります。

AppendFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

バイト配列の内容を追加 BLOB にアップロードする非同期操作を開始します。この API は、複数のライター シナリオでは機能しない重複ブロックを回避するために、アペンド オフセット条件付きヘッダーを内部的に使用するため、1 つのライター シナリオでは厳密に使用する必要があります。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync (byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> progressHandler, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member AppendFromByteArrayAsync : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.AppendFromByteArrayAsync : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function AppendFromByteArrayAsync (buffer As Byte(), index As Integer, count As Integer, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

BLOB へのバイトのアップロードを開始する位置を示す buffer 内のバイト オフセットです。インデックス番号は 0 から始まります。

count
Int32

BLOB に書き込むバイト数です。

accessCondition
AccessCondition

要求を実行するために満たす必要のある条件を表す AccessCondition オブジェクトです。

options
BlobRequestOptions

要求の追加オプションを指定する BlobRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

progressHandler
IProgress<StorageProgress>

IProgress<T>メッセージを処理StorageProgressする オブジェクト。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

非同期操作を表す Task オブジェクト。

属性

注釈

シングルライター シナリオがある場合は、このフラグを にtrue設定することがシナリオで許容されるかどうかを判断する方法を参照してくださいAbsorbConditionalErrorsOnRetry

適用対象

AppendFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

バイト配列の内容を追加 BLOB にアップロードする非同期操作を開始します。この API は、複数のライター シナリオでは機能しない重複ブロックを回避するために、アペンド オフセット条件付きヘッダーを内部的に使用するため、1 つのライター シナリオでは厳密に使用する必要があります。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync (byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member AppendFromByteArrayAsync : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.AppendFromByteArrayAsync : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function AppendFromByteArrayAsync (buffer As Byte(), index As Integer, count As Integer, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

BLOB へのバイトのアップロードを開始する位置を示す buffer 内のバイト オフセットです。インデックス番号は 0 から始まります。

count
Int32

BLOB に書き込むバイト数です。

accessCondition
AccessCondition

要求を実行するために満たす必要のある条件を表す AccessCondition オブジェクトです。

options
BlobRequestOptions

要求の追加オプションを指定する BlobRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

非同期操作を表す Task オブジェクト。

属性

注釈

シングルライター シナリオがある場合は、このフラグを にtrue設定することがシナリオで許容されるかどうかを判断する方法を参照してくださいAbsorbConditionalErrorsOnRetry

適用対象

AppendFromByteArrayAsync(Byte[], Int32, Int32)

バイト配列の内容を追加 BLOB に追加する非同期操作を開始します。 単一ライターのシナリオにのみ推奨されます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync (byte[] buffer, int index, int count);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member AppendFromByteArrayAsync : byte[] * int * int -> System.Threading.Tasks.Task
override this.AppendFromByteArrayAsync : byte[] * int * int -> System.Threading.Tasks.Task
Public Overridable Function AppendFromByteArrayAsync (buffer As Byte(), index As Integer, count As Integer) As Task

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

BLOB へのバイトのアップロードを開始する位置を示す buffer 内のバイト オフセットです。インデックス番号は 0 から始まります。

count
Int32

BLOB に書き込むバイト数です。

戻り値

非同期操作を表す Task オブジェクト。

属性

注釈

このメソッドは、単一ライターのシナリオでのみ使用します。 内部的には、このメソッドは append-offset 条件付きヘッダーを使用してブロックの重複を回避するため、マルチライター シナリオで問題が発生する可能性があります。

適用対象

AppendFromByteArrayAsync(Byte[], Int32, Int32, CancellationToken)

バイト配列の内容を追加 BLOB に追加する非同期操作を開始します。 単一ライターのシナリオにのみ推奨されます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync (byte[] buffer, int index, int count, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member AppendFromByteArrayAsync : byte[] * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.AppendFromByteArrayAsync : byte[] * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function AppendFromByteArrayAsync (buffer As Byte(), index As Integer, count As Integer, cancellationToken As CancellationToken) As Task

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

BLOB へのバイトのアップロードを開始する位置を示す buffer 内のバイト オフセットです。インデックス番号は 0 から始まります。

count
Int32

BLOB に書き込むバイト数です。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

非同期操作を表す Task オブジェクト。

属性

注釈

このメソッドは、単一ライターのシナリオでのみ使用します。 内部的には、このメソッドは append-offset 条件付きヘッダーを使用してブロックの重複を回避するため、マルチライター シナリオで問題が発生する可能性があります。

適用対象

AppendFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext)

バイト配列の内容を追加 BLOB に追加する非同期操作を開始します。この API は、複数のライター シナリオでは機能しない重複ブロックを回避するために、アペンド オフセット条件付きヘッダーを内部的に使用するため、1 つのライター シナリオでは厳密に使用する必要があります。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync (byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member AppendFromByteArrayAsync : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.AppendFromByteArrayAsync : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function AppendFromByteArrayAsync (buffer As Byte(), index As Integer, count As Integer, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

BLOB へのバイトのアップロードを開始する位置を示す buffer 内のバイト オフセットです。インデックス番号は 0 から始まります。

count
Int32

BLOB に書き込むバイト数です。

accessCondition
AccessCondition

要求を実行するために満たす必要のある条件を表す AccessCondition オブジェクトです。

options
BlobRequestOptions

要求の追加オプションを指定する BlobRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

戻り値

非同期操作を表す Task オブジェクト。

属性

注釈

シングルライター シナリオがある場合は、このフラグを にtrue設定することがシナリオで許容されるかどうかを判断する方法を参照してくださいAbsorbConditionalErrorsOnRetry

適用対象