BlobOpenReadOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional parameters for OpenReadAsync(BlobOpenReadOptions, CancellationToken)
public class BlobOpenReadOptions
type BlobOpenReadOptions = class
Public Class BlobOpenReadOptions
- Inheritance
-
BlobOpenReadOptions
Constructors
| Name | Description |
|---|---|
| BlobOpenReadOptions(Boolean) |
Constructor. |
Properties
| Name | Description |
|---|---|
| BufferSize |
The buffer size (in bytes) to use when the stream downloads parts of the blob. Defaults to 4 MB. |
| Conditions |
Optional BlobRequestConditions to add conditions on the download of the blob. |
| LayoutAwareRouting |
Determines whether locality-aware routing is used for the buffered range requests issued by the returned read stream. When enabled, the blob's layout is fetched on demand and cached (with automatic background refresh), and each range download is routed to the optimal endpoint for the chunk being read. This is a performance optimization only - the bytes returned are identical to a non-locality-aware download. Defaults to Auto, which currently disables locality-aware routing; set to Enabled to opt in. |
| Position |
The position within the blob to begin the stream. Defaults to the beginning of the blob. |
| TransferValidation |
Optional override settings for this client's TransferValidation settings. This operation does not allow AutoValidateChecksum to be set false. |