ICloudBlob.BeginUploadFromStream Methode

Definition

Überlädt

BeginUploadFromStream(Stream, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um einen Stream in ein Blob hochzuladen.

BeginUploadFromStream(Stream, Int64, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob.

BeginUploadFromStream(Stream, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um einen Stream in ein Blob hochzuladen.

BeginUploadFromStream(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um einen Stream in ein Blob hochzuladen.

BeginUploadFromStream(Stream, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um einen Stream in ein Blob hochzuladen.

public Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream (System.IO.Stream source, AsyncCallback callback, object state);
abstract member BeginUploadFromStream : System.IO.Stream * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Function BeginUploadFromStream (source As Stream, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

source
Stream

Ein Stream Objekt, das den Blobinhalt bereitstellt.

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.

Gilt für:

BeginUploadFromStream(Stream, Int64, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob.

public Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream (System.IO.Stream source, long length, AsyncCallback callback, object state);
abstract member BeginUploadFromStream : System.IO.Stream * int64 * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Function BeginUploadFromStream (source As Stream, length As Long, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

source
Stream

Ein Stream Objekt, das den Blobinhalt bereitstellt.

length
Int64

Die Anzahl der aus dem Quelldatenstrom an der aktuellen Position zu schreibenden Bytes.

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.

Gilt für:

BeginUploadFromStream(Stream, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um einen Stream in ein Blob hochzuladen.

public Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream (System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginUploadFromStream : System.IO.Stream * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Function BeginUploadFromStream (source As Stream, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

source
Stream

Ein Stream Objekt, das den Blobinhalt bereitstellt.

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.

Gilt für:

BeginUploadFromStream(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um einen Stream in ein Blob hochzuladen.

public Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream (System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginUploadFromStream : System.IO.Stream * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Function BeginUploadFromStream (source As Stream, length As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

source
Stream

Ein Stream Objekt, das den Blobinhalt bereitstellt.

length
Int64

Die Anzahl der aus dem Quelldatenstrom an der aktuellen Position zu schreibenden Bytes.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann. Wenn null, wird keine Bedingung verwendet.

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.

Gilt für: