CloudFile.UploadFromByteArrayAsync メソッド

定義

オーバーロード

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

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

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadFromByteArrayAsync(Byte[], Int32, Int32)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

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

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

ファイルへのバイトのアップロードを開始するバッファー内の 0 から始まるバイト オフセット。

count
Int32

ファイルに書き込むバイト数。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。

options
FileRequestOptions

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

operationContext
OperationContext

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

progressHandler
IProgress<StorageProgress>

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

cancellationToken
CancellationToken

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

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

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

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

ファイルへのバイトのアップロードを開始するバッファー内の 0 から始まるバイト オフセット。

count
Int32

ファイルに書き込むバイト数。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。

options
FileRequestOptions

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

operationContext
OperationContext

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

cancellationToken
CancellationToken

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

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

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

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

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

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

ファイルへのバイトのアップロードを開始するバッファー内の 0 から始まるバイト オフセット。

count
Int32

ファイルに書き込むバイト数。

cancellationToken
CancellationToken

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

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

UploadFromByteArrayAsync(Byte[], Int32, Int32)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

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

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

ファイルへのバイトのアップロードを開始するバッファー内の 0 から始まるバイト オフセット。

count
Int32

ファイルに書き込むバイト数。

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext)

バイト配列の内容をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

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

パラメーター

buffer
Byte[]

バイト配列。

index
Int32

ファイルへのバイトのアップロードを開始するバッファー内の 0 から始まるバイト オフセット。

count
Int32

ファイルに書き込むバイト数。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。

options
FileRequestOptions

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

operationContext
OperationContext

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

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象