Udostępnij za pośrednictwem


RetryStrategy.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 RetryStrategy NoRetry { get; }
'Declaration
Public Shared ReadOnly Property NoRetry As RetryStrategy
    Get
public:
static property RetryStrategy^ NoRetry {
    RetryStrategy^ get ();
}

Property Value

Type: RetryStrategy

See Also

RetryStrategy Class

RetryStrategy Members

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace