CloudFile.DownloadToByteArrayAsync メソッド

定義

オーバーロード

DownloadToByteArrayAsync(Byte[], Int32)

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

DownloadToByteArrayAsync(Byte[], Int32, CancellationToken)

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

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

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

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

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

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

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

DownloadToByteArrayAsync(Byte[], Int32)

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

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

パラメーター

target
Byte[]

対象のバイト配列です。

index
Int32

バイト配列内の開始オフセットです。

戻り値

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

属性

適用対象

DownloadToByteArrayAsync(Byte[], Int32, CancellationToken)

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

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

パラメーター

target
Byte[]

対象のバイト配列です。

index
Int32

バイト配列内の開始オフセットです。

cancellationToken
CancellationToken

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

戻り値

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

属性

適用対象

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

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

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

パラメーター

target
Byte[]

対象のバイト配列です。

index
Int32

バイト配列内の開始オフセットです。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

戻り値

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

属性

適用対象

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

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadToByteArrayAsync (byte[] target, int index, 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 DownloadToByteArrayAsync : byte[] * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.DownloadToByteArrayAsync : byte[] * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Overridable Function DownloadToByteArrayAsync (target As Byte(), index As Integer, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Integer)

パラメーター

target
Byte[]

対象のバイト配列です。

index
Int32

バイト配列内の開始オフセットです。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

cancellationToken
CancellationToken

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

戻り値

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

属性

適用対象

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

ファイルの内容をバイト配列にダウンロードする非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadToByteArrayAsync (byte[] target, int index, 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 DownloadToByteArrayAsync : byte[] * 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<int>
override this.DownloadToByteArrayAsync : byte[] * 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<int>
Public Overridable Function DownloadToByteArrayAsync (target As Byte(), index As Integer, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task(Of Integer)

パラメーター

target
Byte[]

対象のバイト配列です。

index
Int32

バイト配列内の開始オフセットです。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

progressHandler
IProgress<StorageProgress>

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

cancellationToken
CancellationToken

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

戻り値

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

属性

適用対象