CloudBlob.DownloadRangeToStream Methode

Definition

Lädt einen Bytebereich aus einem Blob in einen Stream herunter.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void DownloadRangeToStream (System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadRangeToStream : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.DownloadRangeToStream : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub DownloadRangeToStream (target As Stream, offset As Nullable(Of Long), length As Nullable(Of Long), Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameter

target
Stream

Ein Stream -Objekt, das den Zieldatenstrom darstellt.

offset
Nullable<Int64>

Der Offset, an dem der Download des BLOBs startet (in Bytes).

length
Nullable<Int64>

Die Länge der Daten, die vom BLOB heruntergeladen werden (in 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. Wenn null, werden standardoptionen auf die Anforderung angewendet.

operationContext
OperationContext

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

Attribute

Gilt für: