Interface IRequestOptions
- Namespace
- Microsoft.WindowsAzure.Storage
- Assembly
- Microsoft.WindowsAzure.Storage.dll
An interface required for request option types.
public interface IRequestOptions
Remarks
The QueueRequestOptions, BlobRequestOptions, and TableRequestOptions classes implement the IRequestOptions interface.
Properties
LocationMode
Gets or sets the location mode of the request.
LocationMode? LocationMode { get; set; }
Property Value
- LocationMode?
A LocationMode enumeration value.
MaximumExecutionTime
Gets or sets the maximum execution time across all potential retries.
TimeSpan? MaximumExecutionTime { get; set; }
Property Value
RequireEncryption
Gets or sets a value to indicate whether data written and read by the client library should be encrypted.
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 for the request.
IRetryPolicy RetryPolicy { get; set; }
Property Value
- IRetryPolicy
An object of type IRetryPolicy.
ServerTimeout
Gets or sets the default server timeout for the request.
TimeSpan? ServerTimeout { get; set; }