Click or drag to resize

TransientDetector Class

Provides some common transient error detection functions for use by IRetryPolicy implementations.
Inheritance Hierarchy
SystemObject
  Neon.RetryTransientDetector

Namespace:  Neon.Retry
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public static class TransientDetector

The TransientDetector type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAlways
Considers every exceptions to be transient.
Public methodStatic memberHttp
Considers HttpException, HttpRequestException, and TransientException as possible transient errors as well as these exceptions nested within an AggregateException.
Public methodStatic memberNetwork
Considers SocketException and TransientException as possible transient errors as well as these exceptions nested within an AggregateException.
Public methodStatic memberNetworkOrHttp
Considers SocketException, HttpRequestException, and TransientException as possible transient errors as well as these exceptions nested within an AggregateException.
Public methodStatic memberNever
Considers no exceptions to be transient.
Top
See Also