TableServiceContext.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 retry policy for requests made via the service context.

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

Usage

Visual Basic
Dim instance As TableServiceContext
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

To set the retry policy for requests made via this TableServiceContext object, set the RetryPolicy property to a delegate of type RetryPolicy. The retry policy delegate may be one of the policies returned by the methods provided by the RetryPolicies class, or it may be a custom retry policy delegate that you define.


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