CloudQueueClient.RetryPolicy Property
From Storage Client Library NET API
Gets or sets the default retry policy for requests made via the Queue service client.
Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
| Visual Basic |
|---|
Dim instance As CloudQueueClient 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.