Interface ITransientErrorDetectionStrategy
Defines an interface which must be implemented by custom components responsible for detecting specific transient conditions.
Namespace: Umbraco.Core.Persistence.FaultHandling
Assembly: Umbraco.Core.dll
Syntax
public interface ITransientErrorDetectionStrategy
Methods
View SourceIsTransient(Exception)
Determines whether the specified exception represents a transient failure that can be compensated by a retry.
Declaration
bool IsTransient(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | ex | The exception object to be verified. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified exception is considered as transient, otherwise false. |