Aracılığıyla paylaş


StorageResourceReadStreamResult Class

Definition

The properties and content returned from downloading a storage resource

public class StorageResourceReadStreamResult
type StorageResourceReadStreamResult = class
Public Class StorageResourceReadStreamResult
Inheritance
StorageResourceReadStreamResult

Constructors

StorageResourceReadStreamResult(Stream, String, String, Byte[], StorageResourceProperties)

Constructor for ReadStreamStorageResourceInfo

Fields

AcceptRanges

Indicates that the service supports requests for partial storage resource content.

Content

Content

ContentRange

Indicates the range of bytes returned if the client requested a subset of the storage resource by setting the Range request header.

The format of the Content-Range is expected to comeback in the following format. [unit] [start]-[end]/[fileSize] (e.g. bytes 1024-3071/10240)

The [end] value will be the inclusive last byte (e.g. header "bytes 0-7/8" is the entire 8-byte storage resource).

RangeContentHash

If the storage resource has a MD5 hash, and if request contains range header (Range or x-ms-range), this response header is returned with the value of the whole storage resource's MD5 value. This value may or may not be equal to the value returned in Content-MD5 header, with the latter calculated from the requested range.

Applies to