SqlAzureTransientErrorDetectionStrategy.IsTransient Method
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.TransientFaultHandling.Data (in Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Data.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public bool IsTransient(
Exception ex
)
'Declaration
Public Function IsTransient (
ex As Exception
) As Boolean
public:
virtual bool IsTransient(
Exception^ ex
) sealed
Parameters
- ex
Type: System.Exception
The exception object to be verified.
Return Value
Type: Boolean
true if the specified exception is considered transient; otherwise, false.
Implements
ITransientErrorDetectionStrategy.IsTransient(Exception)
See Also
SqlAzureTransientErrorDetectionStrategy Class
SqlAzureTransientErrorDetectionStrategy Members
Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace