CloudBlockBlob.BeginUploadFromByteArray Methode

Definition

Überlädt

BeginUploadFromByteArray(Byte[], Int32, Int32, AsyncCallback, Object)

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

BeginUploadFromByteArray(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

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

BeginUploadFromByteArray(Byte[], Int32, Int32, AsyncCallback, Object)

Startet 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 Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray (byte[] buffer, int index, int count, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginUploadFromByteArray : byte[] * int * int * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginUploadFromByteArray : byte[] * int * int * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginUploadFromByteArray (buffer As Byte(), index As Integer, count As Integer, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

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.

callback
AsyncCallback

Ein AsyncCallback Delegat, der eine Benachrichtigung erhält, wenn der asynchrone Vorgang abgeschlossen ist.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegaten übergeben wird.

Gibt zurück

Ein ICancellableAsyncResult , der auf den asynchronen Vorgang verweist.

Implementiert

Attribute

Gilt für:

BeginUploadFromByteArray(Byte[], Int32, Int32, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet 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 Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray (byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginUploadFromByteArray : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginUploadFromByteArray : byte[] * int * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginUploadFromByteArray (buffer As Byte(), index As Integer, count As Integer, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

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.

callback
AsyncCallback

Ein AsyncCallback Delegat, der eine Benachrichtigung erhält, wenn der asynchrone Vorgang abgeschlossen ist.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegaten übergeben wird.

Gibt zurück

Ein ICancellableAsyncResult , der auf den asynchronen Vorgang verweist.

Implementiert

Attribute

Gilt für: