RetryPolicy.NoRetry Property

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

Namespace: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public static RetryPolicy NoRetry { get; }
'Declaration
Public Shared ReadOnly Property NoRetry As RetryPolicy
    Get
public:
static property RetryPolicy^ NoRetry {
    RetryPolicy^ get ();
}

Property Value

Type: RetryPolicy

See Also

RetryPolicy Class

RetryPolicy Members

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace