Table of Contents

Class FileRequestOptions

Namespace
Microsoft.WindowsAzure.Storage.File
Assembly
Microsoft.WindowsAzure.Storage.dll

Represents a set of timeout and retry policy options that may be specified for a request against the File service.

public sealed class FileRequestOptions : IRequestOptions
Inheritance
FileRequestOptions
Implements
Inherited Members

Constructors

FileRequestOptions()

Initializes a new instance of the FileRequestOptions class.

public FileRequestOptions()

Properties

DisableContentMD5Validation

Gets or sets a value to indicate that MD5 validation will be disabled when downloading files.

public bool? DisableContentMD5Validation { get; set; }

Property Value

bool?

Use true to disable MD5 validation; false to enable MD5 validation.

LocationMode

Gets or sets the location mode of the request.

public LocationMode? LocationMode { get; set; }

Property Value

LocationMode?

The location mode of the request.

MaximumExecutionTime

Gets or sets the maximum execution time across all potential retries for the request.

public TimeSpan? MaximumExecutionTime { get; set; }

Property Value

TimeSpan?

A TimeSpan representing the maximum execution time for retries for the request.

ParallelOperationThreadCount

Gets or sets the number of ranges that may be simultaneously uploaded when uploading a file.

public int? ParallelOperationThreadCount { get; set; }

Property Value

int?

The number of parallel operations that may proceed.

RequireEncryption

Gets or sets a value to indicate whether data written and read by the client library should be encrypted.

public bool? RequireEncryption { get; set; }

Property Value

bool?

Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false.

RetryPolicy

Gets or sets the retry policy.

public IRetryPolicy RetryPolicy { get; set; }

Property Value

IRetryPolicy

The retry policy.

ServerTimeout

Gets or sets the server timeout interval for the request.

public TimeSpan? ServerTimeout { get; set; }

Property Value

TimeSpan?

The server timeout interval for the request.

StoreFileContentMD5

Gets or sets a value to indicate that an MD5 hash will be calculated and stored when uploading a file.

public bool? StoreFileContentMD5 { get; set; }

Property Value

bool?

Use true to calculate and store an MD5 hash when uploading a file; otherwise, false.

UseTransactionalMD5

Gets or sets a value to calculate and send/validate content MD5 for transactions.

public bool? UseTransactionalMD5 { get; set; }

Property Value

bool?

Use true to calculate and send/validate content MD5 for transactions; otherwise, false.