CloudBlockBlob.UploadFromStreamAsync Methode

Definition

Überlädt

UploadFromStreamAsync(Stream, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, Int64)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, Int64, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

UploadFromStreamAsync(Stream, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, 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 UploadFromStreamAsync : System.IO.Stream * 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.UploadFromStreamAsync : System.IO.Stream * 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 UploadFromStreamAsync (source As Stream, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task

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. 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.

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:

UploadFromStreamAsync(Stream)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadFromStreamAsync : System.IO.Stream -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream) As Task

Parameter

source
Stream

Ein Stream Objekt, das den Blobinhalt bereitstellt.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

UploadFromStreamAsync(Stream, Int64)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, long length);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadFromStreamAsync : System.IO.Stream * int64 -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream * int64 -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream, length As Long) As Task

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.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

UploadFromStreamAsync(Stream, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadFromStreamAsync : System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream, cancellationToken As CancellationToken) As Task

Parameter

source
Stream

Ein Stream Objekt, das den Blobinhalt bereitstellt.

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:

UploadFromStreamAsync(Stream, Int64, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, long length, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadFromStreamAsync : System.IO.Stream * int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream * int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream, length As Long, cancellationToken As CancellationToken) As Task

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.

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:

UploadFromStreamAsync(Stream, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadFromStreamAsync : System.IO.Stream * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task

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. 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.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

UploadFromStreamAsync(Stream, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, 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 UploadFromStreamAsync : System.IO.Stream * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

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. 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.

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:

UploadFromStreamAsync(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadFromStreamAsync : System.IO.Stream * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream, length As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task

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.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Implementiert

Attribute

Gilt für:

UploadFromStreamAsync(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, 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 UploadFromStreamAsync : System.IO.Stream * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UploadFromStreamAsync : System.IO.Stream * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UploadFromStreamAsync (source As Stream, length As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

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.

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:

UploadFromStreamAsync(Stream, Int64, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiiert einen asynchronen Vorgang zum Hochladen eines Datenstroms in ein Blockblob. Wenn das Blob bereits vorhanden ist, wird es überschrieben.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadFromStreamAsync (System.IO.Stream source, 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 UploadFromStreamAsync : System.IO.Stream * 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
override this.UploadFromStreamAsync : System.IO.Stream * 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
Public Overridable Function UploadFromStreamAsync (source As Stream, length As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task

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.

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: