CloudTableClient.RetryPolicy Property

Storage Client Library NET API

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Gets or sets the default retry policy for requests made via the Table service client.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Usage

Visual Basic
Dim instance As CloudTableClient
Dim value As RetryPolicy

value = instance.RetryPolicy

instance.RetryPolicy = value

Syntax

Visual Basic
Public Property RetryPolicy As RetryPolicy
C#
public RetryPolicy RetryPolicy { get; set; }
C++
public:
property RetryPolicy^ RetryPolicy {
	RetryPolicy^ get ();
	void set (RetryPolicy^ value);
}
J#
JScript

Property Value

Type: Microsoft.WindowsAzure.StorageClient.RetryPolicy

The retry policy.

Remarks

Setting the retry policy for the service client establishes the default policy for all requests made via the client, unless the request explicitly sets the retry policy.

To set the retry policy for an individual request, set the RetryPolicy property of the BlobRequestOptions class to a delegate of type RetryPolicy. This property can be set to one of the methods provided by the RetryPolicies class, or to a custom retry policy delegate that you define.

For details on implementing either a pre-defined or a custom retry policy, see RetryPolicies.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

See Also