DocumentClientException.RetryAfter Property

Gets the recommended time interval after which the client can retry failed requests.

Namespace: Microsoft.Azure.Documents
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

Usage

'Usage
Dim instance As DocumentClientException
Dim value As TimeSpan

value = instance.RetryAfter

Syntax

'Declaration
Public ReadOnly Property RetryAfter As TimeSpan
public TimeSpan RetryAfter { get; }
public:
property TimeSpan RetryAfter {
    TimeSpan get ();
}
/** @property */
public TimeSpan get_RetryAfter ()
public function get RetryAfter () : TimeSpan

Property Value

The recommended time interval after which the client can retry failed requests.

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

Target Platforms

See Also

Reference

DocumentClientException Class
DocumentClientException Members
Microsoft.Azure.Documents Namespace