Share via


RetryPolicy.NoRetry Property

Returns a default policy that performs no retries, but invokes the action only once.

Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim value As RetryPolicy

value = RetryPolicy.NoRetry

Syntax

'Declaration
Public Shared ReadOnly Property NoRetry As RetryPolicy
public static RetryPolicy NoRetry { get; }
public:
static property RetryPolicy^ NoRetry {
    RetryPolicy^ get ();
}
/** @property */
public static RetryPolicy get_NoRetry ()
public static function get NoRetry () : RetryPolicy

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

RetryPolicy Class
RetryPolicy Members
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace