Partilhar via


CloudFile.DownloadRangeToByteArrayAsync Método

Definição

Sobrecargas

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

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

fileOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O comprimento dos dados a serem baixados do arquivo, em bytes.

accessCondition
AccessCondition

Um objeto AccessCondition que representa condições de acesso do arquivo.

options
FileRequestOptions

Um objeto FileRequestOptions 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 que representa a operação atual.

Atributos

Aplica-se a

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? fileOffset, long? length);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> -> System.Threading.Tasks.Task<int>
override this.DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> -> System.Threading.Tasks.Task<int>
Public Overridable Function DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, fileOffset 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.

fileOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O comprimento dos dados a serem baixados do arquivo, em bytes.

Retornos

Um objeto Task que representa a operação atual.

Atributos

Aplica-se a

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? fileOffset, long? length, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Overridable Function DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, fileOffset 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.

fileOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O comprimento dos dados a serem baixados do arquivo, em bytes.

cancellationToken
CancellationToken

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

Retornos

Um objeto Task que representa a operação atual.

Atributos

Aplica-se a

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

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? fileOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<int>
override this.DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<int>
Public Overridable Function DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, fileOffset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As FileRequestOptions, 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.

fileOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O comprimento dos dados a serem baixados do arquivo, em bytes.

accessCondition
AccessCondition

Um objeto AccessCondition que representa condições de acesso do arquivo.

options
FileRequestOptions

Um objeto FileRequestOptions 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 que representa a operação atual.

Atributos

Aplica-se a

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Retorna uma tarefa que executa uma operação assíncrona para baixar o conteúdo de um arquivo em uma matriz de bytes.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? fileOffset, long? length, 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 DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * 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.DownloadRangeToByteArrayAsync : byte[] * int * Nullable<int64> * Nullable<int64> * 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 DownloadRangeToByteArrayAsync (target As Byte(), index As Integer, fileOffset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), 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.

fileOffset
Nullable<Int64>

O deslocamento inicial do intervalo de dados, em bytes.

length
Nullable<Int64>

O comprimento dos dados a serem baixados do arquivo, em bytes.

accessCondition
AccessCondition

Um objeto AccessCondition que representa condições de acesso do arquivo.

options
FileRequestOptions

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

operationContext
OperationContext

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

progressHandler
IProgress<StorageProgress>

Um IProgress<T> objeto para manipular StorageProgress mensagens.

cancellationToken
CancellationToken

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

Retornos

Um objeto Task que representa a operação atual.

Atributos

Aplica-se a