CloudBlob.DownloadRangeToByteArrayAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>)
Lance une opération asynchrone pour télécharger une plage d’octets d’un objet blob vers un tableau d’octets.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? blobOffset, 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, blobOffset As Nullable(Of Long), length As Nullable(Of Long)) As Task(Of Integer)
Paramètres
- target
- Byte[]
Tableau d'octets cible.
- index
- Int32
Décalage de départ dans le tableau d'octets.
Retours
Objet Task<TResult> de type int
qui représente l’opération asynchrone.
- Attributs
S’applique à
DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, CancellationToken)
Lance une opération asynchrone pour télécharger une plage d’octets d’un objet blob vers un tableau d’octets.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<int> DownloadRangeToByteArrayAsync (byte[] target, int index, long? blobOffset, 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, blobOffset As Nullable(Of Long), length As Nullable(Of Long), cancellationToken As CancellationToken) As Task(Of Integer)
Paramètres
- target
- Byte[]
Tableau d'octets cible.
- index
- Int32
Décalage de départ dans le tableau d'octets.
- cancellationToken
- CancellationToken
CancellationToken à observer en attendant qu'une tâche se termine.
Retours
Objet Task<TResult> de type int
qui représente l’opération asynchrone.
- Attributs
S’applique à
DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)
Lance une opération asynchrone pour télécharger une plage d’octets d’un objet blob vers un tableau d’octets.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual 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);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
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>
override this.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 Overridable 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)
Paramètres
- target
- Byte[]
Tableau d'octets cible.
- index
- Int32
Décalage de départ dans le tableau d'octets.
- accessCondition
- AccessCondition
Objet AccessCondition qui représente la condition qui doit être remplie pour que la demande continue.
- options
- BlobRequestOptions
Objet BlobRequestOptions qui spécifie les options supplémentaires de la demande.
- operationContext
- OperationContext
Objet OperationContext qui représente le contexte de l'opération actuelle.
Retours
Objet Task<TResult> de type int
qui représente l’opération asynchrone.
- Attributs
S’applique à
DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
Lance une opération asynchrone pour télécharger une plage d’octets d’un objet blob vers un tableau d’octets.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual 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);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
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>
override this.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 Overridable 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)
Paramètres
- target
- Byte[]
Tableau d'octets cible.
- index
- Int32
Décalage de départ dans le tableau d'octets.
- accessCondition
- AccessCondition
Objet AccessCondition qui représente la condition qui doit être remplie pour que la demande continue.
- options
- BlobRequestOptions
Objet BlobRequestOptions qui spécifie les options supplémentaires de la demande.
- operationContext
- OperationContext
Objet OperationContext qui représente le contexte de l'opération actuelle.
- cancellationToken
- CancellationToken
CancellationToken à observer en attendant qu'une tâche se termine.
Retours
Objet Task<TResult> de type int
qui représente l’opération asynchrone.
- Attributs
S’applique à
DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)
Lance une opération asynchrone pour télécharger une plage d’octets d’un objet blob vers un tableau d’octets.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual 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, 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.Blob.BlobRequestOptions * 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.Blob.BlobRequestOptions * 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, blobOffset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task(Of Integer)
Paramètres
- target
- Byte[]
Tableau d'octets cible.
- index
- Int32
Décalage de départ dans le tableau d'octets.
- accessCondition
- AccessCondition
Objet AccessCondition qui représente la condition qui doit être remplie pour que la demande continue.
- options
- BlobRequestOptions
Objet BlobRequestOptions qui spécifie les options supplémentaires de la demande.
- operationContext
- OperationContext
Objet OperationContext qui représente le contexte de l'opération actuelle.
- progressHandler
- IProgress<StorageProgress>
Objet IProgress<T> pour gérer les StorageProgress messages.
- cancellationToken
- CancellationToken
CancellationToken à observer en attendant qu'une tâche se termine.
Retours
Objet Task<TResult> de type int
qui représente l’opération asynchrone.
- Attributs
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour