Class SqlAzureTransientErrorDetectionStrategy
Provides the transient error detection logic for transient faults that are specific to SQL Azure.
Inheritance
System.Object
Namespace: Umbraco.Cms.Persistence.SqlServer.FaultHandling.Strategies
Assembly: Umbraco.Cms.Persistence.SqlServer.dll
Syntax
public class SqlAzureTransientErrorDetectionStrategy : ITransientErrorDetectionStrategy
Methods
View SourceIsTransient(Nullable<Exception>)
Determines whether the specified exception represents a transient failure that can be compensated by a retry.
Declaration
public bool IsTransient(Exception? ex)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<Exception> | ex | The exception object to be verified. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified exception is considered as transient; otherwise, false. |