Class ShareFileOpenReadOptions
Optional parameters for OpenReadAsync(bool, long, int?, CancellationToken).
public class ShareFileOpenReadOptions
- Inheritance
-
ShareFileOpenReadOptions
- Inherited Members
Constructors
ShareFileOpenReadOptions(bool)
Constructor.
public ShareFileOpenReadOptions(bool allowModifications)
Parameters
allowModifications
boolIf 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
Position
The position within the file to begin the stream. Defaults to the beginning of the file.
public long Position { get; set; }
Property Value
TransferValidation
Optional override settings for this client's TransferValidation settings.
public DownloadTransferValidationOptions TransferValidation { get; set; }
Property Value
- DownloadTransferValidationOptions