ICloudBlob.DownloadToByteArrayAsync Methode

Definition

Überlädt

DownloadToByteArrayAsync(Byte[], Int32)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

DownloadToByteArrayAsync(Byte[], Int32, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

DownloadToByteArrayAsync(Byte[], Int32)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

public System.Threading.Tasks.Task<int> DownloadToByteArrayAsync (byte[] target, int index);
abstract member DownloadToByteArrayAsync : byte[] * int -> System.Threading.Tasks.Task<int>
Public Function DownloadToByteArrayAsync (target As Byte(), index As Integer) As Task(Of Integer)

Parameter

target
Byte[]

Das Zielbytearray.

index
Int32

Der Startoffset im Bytearray.

Gibt zurück

Ein Task-Objekt vom Typ int, das den asynchronen Vorgang darstellt.

Gilt für:

DownloadToByteArrayAsync(Byte[], Int32, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

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

Parameter

target
Byte[]

Das Zielbytearray.

index
Int32

Der Startoffset im Bytearray.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task-Objekt vom Typ int, das den asynchronen Vorgang darstellt.

Gilt für:

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

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

Parameter

target
Byte[]

Das Zielbytearray.

index
Int32

Der Startoffset im Bytearray.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann.

options
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

Ein Task-Objekt vom Typ int, das den asynchronen Vorgang darstellt.

Gilt für:

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Blobs in ein Bytearray herunterzuladen.

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

Parameter

target
Byte[]

Das Zielbytearray.

index
Int32

Der Startoffset im Bytearray.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann.

options
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task-Objekt vom Typ int, das den asynchronen Vorgang darstellt.

Gilt für: