Click or drag to resize

NoRetryPolicy Class

Implements an IRetryPolicy that does not attempt to retry operations.
Inheritance Hierarchy
SystemObject
  Neon.RetryNoRetryPolicy

Namespace:  Neon.Retry
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public class NoRetryPolicy : IRetryPolicy

The NoRetryPolicy type exposes the following members.

Constructors
  NameDescription
Public methodNoRetryPolicy
Constructor.
Top
Properties
  NameDescription
Public propertyStatic memberInstance
Returns a global invariant instance.
Public propertyTimeout
Returns the optional policy timeout. When present, this specifies the maximum time the policy will continue retrying the operation.
Top
Methods
  NameDescription
Public methodClone
Returns a copy of the retry policy.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke(Action)
Retries a synchronous action that returns no result when it throws exceptions due to transient errors. The classification of what is a transient error, the interval between the retries as well as the number of times the operation are retried are determined by the policy implementation.
Public methodInvokeTResult(FuncTResult)
Retries a synchronous action that returns a result when it throws exceptions due to transient errors. The classification of what is a transient error, the interval between the retries as well as the number of times the operation are retried are determined by the policy implementation.
Public methodInvokeAsync(FuncTask)
Retries an asynchronous action that returns no result when it throws exceptions due to transient errors. The classification of what is a transient error, the interval between the retries as well as the number of times the operation are retried are determined by the policy implementation.
Public methodInvokeAsyncTResult(FuncTaskTResult)
Retries an asynchronous action that returns TResult when it throws exceptions due to transient errors. he classification of what is a transient error, the interval between the retries as well as the number of times the operation are retried are determined by the policy implementation.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also