Share via


CloudBlockBlob.UploadFromByteArrayAsync Methode

Definition

Überlädt

UploadFromByteArrayAsync(Byte[], Int32, Int32)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromByteArrayAsync(Byte[], Int32, Int32, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromByteArrayAsync(Byte[], Int32, Int32)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

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

Parameter

buffer
Byte[]

Ein Bytearray.

index
Int32

Der nullbasierte Byteoffset im Puffer, ab dem Bytes in das Blob hochgeladen werden sollen

count
Int32

Die Anzahl der Bytes, die in das Blob geschrieben werden sollen.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

UploadFromByteArrayAsync(Byte[], Int32, Int32, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

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

Parameter

buffer
Byte[]

Ein Bytearray.

index
Int32

Der nullbasierte Byteoffset im Puffer, ab dem Bytes in das Blob hochgeladen werden sollen

count
Int32

Die Anzahl der Bytes, die in das Blob geschrieben werden sollen.

cancellationToken
CancellationToken

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

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

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

Parameter

buffer
Byte[]

Ein Bytearray.

index
Int32

Der nullbasierte Byteoffset im Puffer, ab dem Bytes in das Blob hochgeladen werden sollen

count
Int32

Die Anzahl der Bytes, die in das Blob geschrieben werden sollen.

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, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

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

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

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

Parameter

buffer
Byte[]

Ein Bytearray.

index
Int32

Der nullbasierte Byteoffset im Puffer, ab dem Bytes in das Blob hochgeladen werden sollen

count
Int32

Die Anzahl der Bytes, die in das Blob geschrieben werden sollen.

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, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiiert einen asynchronen Vorgang, um den Inhalt eines Bytearrays in ein Blob hochzuladen. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

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

Parameter

buffer
Byte[]

Ein Bytearray.

index
Int32

Der nullbasierte Byteoffset im Puffer, ab dem Bytes in das Blob hochgeladen werden sollen

count
Int32

Die Anzahl der Bytes, die in das Blob geschrieben werden sollen.

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.

progressHandler
IProgress<StorageProgress>

Ein IProgress<T> -Objekt zum Verarbeiten von StorageProgress Nachrichten.

cancellationToken
CancellationToken

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

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: