Table of Contents

Class ShareFileOpenWriteOptions

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

Optional parameters for File Open Write.

public class ShareFileOpenWriteOptions
Inheritance
ShareFileOpenWriteOptions
Inherited Members

Constructors

ShareFileOpenWriteOptions()

public ShareFileOpenWriteOptions()

Properties

BufferSize

The size of the buffer to use. Default is 4 MB, max is 4 MB.

public long? BufferSize { get; set; }

Property Value

long?

MaxSize

Required if overwrite is set to true, or the underlying file is being created for the first time. Specifies the size of the new file in bytes. The max supported file size is 4 TiB.

public long? MaxSize { get; set; }

Property Value

long?

OpenConditions

Access conditions used to open the write stream.

public ShareFileRequestConditions OpenConditions { get; set; }

Property Value

ShareFileRequestConditions

ProgressHandler

Optional IProgress<T> to provide progress updates about data transfers.

public IProgress<long> ProgressHandler { get; set; }

Property Value

IProgress<long>

TransferValidation

Optional override settings for this client's TransferValidation settings. hashing on uploads.

public UploadTransferValidationOptions TransferValidation { get; set; }

Property Value

UploadTransferValidationOptions