Table of Contents

Class ShareFileOpenReadOptions

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll
public class ShareFileOpenReadOptions
Inheritance
ShareFileOpenReadOptions
Inherited Members

Constructors

ShareFileOpenReadOptions(bool)

Constructor.

public ShareFileOpenReadOptions(bool allowModifications)

Parameters

allowModifications bool

If false, a Azure.RequestFailedException will be thrown if the file is modified while it is being read from.

Properties

BufferSize

The buffer size to use when the stream downloads parts of the file. Defaults to 4 MB.

public int? BufferSize { get; set; }

Property Value

int?

Conditions

Optional ShareFileRequestConditions to add conditions on the download of the file.

public ShareFileRequestConditions Conditions { get; set; }

Property Value

ShareFileRequestConditions

Position

The position within the file to begin the stream. Defaults to the beginning of the file.

public long Position { get; set; }

Property Value

long

TransferValidation

Optional override settings for this client's TransferValidation settings.

public DownloadTransferValidationOptions TransferValidation { get; set; }

Property Value

DownloadTransferValidationOptions