Class BlobOpenReadOptions
Optional parameters for OpenReadAsync(BlobOpenReadOptions, CancellationToken)
Inheritance
System.Object
BlobOpenReadOptions
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Storage.Blobs.dll
Syntax
public class BlobOpenReadOptions
Constructors
BlobOpenReadOptions(Boolean)
Constructor.
Declaration
public BlobOpenReadOptions (bool allowModifications);
Parameters
|
System.Boolean
allowModifications
If false, a Azure.RequestFailedException will be thrown if the blob is modified while it is being read from. |
Properties
BufferSize
The buffer size (in bytes) to use when the stream downloads parts of the blob. Defaults to 4 MB.
Declaration
public Nullable<int> BufferSize { get; set; }
Property Value
|
System.Nullable<System.Int32>
|
Conditions
Optional BlobRequestConditions to add conditions on the download of the blob.
Declaration
public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get; set; }
Property Value
|
BlobRequestConditions
|
Position
The position within the blob to begin the stream. Defaults to the beginning of the blob.
Declaration
public long Position { get; set; }
Property Value
|
System.Int64
|
TransferValidation
Optional override settings for this client's TransferValidation settings. This operation does not allow Azure.Storage.DownloadTransferValidationOptions.AutoValidateChecksum to be set false.
Declaration
public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get; set; }
Property Value
|
Azure.Storage.DownloadTransferValidationOptions
|