Share via


ICloudBlob.DownloadRangeToByteArrayAsync Método

Definição

Sobrecargas

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

public System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? blobOffset, long? length);
abstract member DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> -> System.Threading.Tasks.Task<int>
Public Function DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, blobOffset As Nullable(Of Long), length As Nullable(Of Long)) As Task(Of Integer)

Parâmetros

target
Byte[]

A matriz de bytes de destino.

index
Int32

O deslocamento inicial da matriz de bytes.

blobOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O tamanho do intervalo de dados, em bytes.

Retornos

Um objeto Task do tipo int que representa a operação assíncrona.

Aplica-se a

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

public System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? blobOffset, long? length, System.Threading.CancellationToken cancellationToken);
abstract member DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, blobOffset As Nullable(Of Long), length As Nullable(Of Long), cancellationToken As CancellationToken) As Task(Of Integer)

Parâmetros

target
Byte[]

A matriz de bytes de destino.

index
Int32

O deslocamento inicial da matriz de bytes.

blobOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O tamanho do intervalo de dados, em bytes.

cancellationToken
CancellationToken

Um CancellationToken a ser observado ao aguardar a conclusão da tarefa.

Retornos

Um objeto Task do tipo int que representa a operação assíncrona.

Aplica-se a

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

public System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
abstract member DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<int>
Public Function DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, blobOffset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of Integer)

Parâmetros

target
Byte[]

A matriz de bytes de destino.

index
Int32

O deslocamento inicial da matriz de bytes.

blobOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O tamanho do intervalo de dados, em bytes.

accessCondition
AccessCondition

Um objeto AccessCondition que representa a condição que deve ser atendida para que a solicitação continue.

options
BlobRequestOptions

Um objeto BlobRequestOptions que especifica opções adicionais para a solicitação.

operationContext
OperationContext

Um objeto OperationContext que representa o contexto da operação atual.

Retornos

Um objeto Task do tipo int que representa a operação assíncrona.

Aplica-se a

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Inicia uma operação assíncrona para baixar um intervalo de bytes de um blob para uma matriz de bytes.

public System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, blobOffset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Integer)

Parâmetros

target
Byte[]

A matriz de bytes de destino.

index
Int32

O deslocamento inicial da matriz de bytes.

blobOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O tamanho do intervalo de dados, em bytes.

accessCondition
AccessCondition

Um objeto AccessCondition que representa a condição que deve ser atendida para que a solicitação continue.

options
BlobRequestOptions

Um objeto BlobRequestOptions que especifica opções adicionais para a solicitação.

operationContext
OperationContext

Um objeto OperationContext que representa o contexto da operação atual.

cancellationToken
CancellationToken

Um CancellationToken a ser observado ao aguardar a conclusão da tarefa.

Retornos

Um objeto Task do tipo int que representa a operação assíncrona.

Aplica-se a