Share via


SqlAzureTransientErrorDetectionStrategy.IsTransient Method

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Determines whether the specified exception represents a transient failure that can be compensated by a retry.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

public bool IsTransient(
    Exception ex
)
'Declaration
Public Function IsTransient ( _
    ex As Exception _
) As Boolean
public:
virtual bool IsTransient(
    Exception^ ex
) sealed

Parameters

Return Value

True if the specified exception is considered as transient, otherwise false.

Implements

ITransientErrorDetectionStrategyIsTransient(Exception)

See Also

SqlAzureTransientErrorDetectionStrategy Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace