Table of Contents

Class TableRequestOptions

Namespace
Microsoft.WindowsAzure.Storage.Table
Assembly
Microsoft.WindowsAzure.Storage.dll

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

public sealed class TableRequestOptions : IRequestOptions
Inheritance
TableRequestOptions
Implements
Inherited Members

Constructors

TableRequestOptions()

Initializes a new instance of the TableRequestOptions class.

public TableRequestOptions()

TableRequestOptions(TableRequestOptions)

Initializes a new instance of the TableRequestOptions class with the specified TableRequestOptions.

public TableRequestOptions(TableRequestOptions other)

Parameters

other TableRequestOptions

The TableRequestOptions object used to initialize a new instance of the TableRequestOptions class.

Properties

EncryptionPolicy

Gets or sets the encryption policy for the request.

public TableEncryptionPolicy EncryptionPolicy { get; set; }

Property Value

TableEncryptionPolicy

An object of type EncryptionPolicy.

EncryptionResolver

Gets or sets the delegate to get the value indicating whether or not a property should be encrypted, given the partition key, row key, and property name.

public Func<string, string, string, bool> EncryptionResolver { get; set; }

Property Value

Func<string, string, string, bool>

LocationMode

Gets or sets the location mode of the request.

public LocationMode? LocationMode { get; set; }

Property Value

LocationMode?

A LocationMode enumeration value indicating the location mode of the request.

MaximumExecutionTime

Gets or sets the maximum execution time for 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.

PayloadFormat

Gets or sets the TablePayloadFormat that will be used for the request.

public TablePayloadFormat? PayloadFormat { get; set; }

Property Value

TablePayloadFormat?

A TablePayloadFormat enumeration value.

ProjectSystemProperties

Gets or sets the option to include system properties such as Partition Key and Row Key in queries.

public bool? ProjectSystemProperties { get; set; }

Property Value

bool?

PropertyResolver

Gets or sets the delegate that is used to get the EdmType for an entity property given the partition key, row key, and the property name.

public Func<string, string, string, string, EdmType> PropertyResolver { get; set; }

Property Value

Func<string, string, string, string, EdmType>

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 for the request.

public IRetryPolicy RetryPolicy { get; set; }

Property Value

IRetryPolicy

An object of type IRetryPolicy.

ServerTimeout

Gets or sets the server timeout interval for the request.

public TimeSpan? ServerTimeout { get; set; }

Property Value

TimeSpan?

A TimeSpan containing the server timeout interval for the request.