CloudAppendBlob.UploadFromStreamAsyncHelper メソッド

定義

ストリームを追加 BLOB にアップロードします。 単一ライターのシナリオにのみ推奨されます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public System.Threading.Tasks.Task UploadFromStreamAsyncHelper (System.IO.Stream source, long? length, bool createNew, 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>]
member this.UploadFromStreamAsyncHelper : System.IO.Stream * Nullable<int64> * bool * 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 Function UploadFromStreamAsyncHelper (source As Stream, length As Nullable(Of Long), createNew As Boolean, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task

パラメーター

source
Stream

BLOB を渡すためのストリームです。

length
Nullable<Int64>

アップロード元のストリームから現在の位置に書き込むバイト数です。

createNew
Boolean

true 追加 BLOB が新しく作成された場合は 。 false それ以外の場合は 。

accessCondition
AccessCondition

BLOB のアクセス条件を表す AccessCondition オブジェクトです。 null の場合、条件は使用されません。

options
BlobRequestOptions

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

operationContext
OperationContext

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

progressHandler
IProgress<StorageProgress>

進行状況の IProgress<T> 差分を収集するオブジェクト。

cancellationToken
CancellationToken

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

戻り値

Task非同期アクションを表す 。

属性

適用対象