DefaultHttpErrorDetectionStrategy.IsTransient Method (Exception)

 

Returns true if status code in HttpRequestExceptionWithStatus exception is greater than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505).

Namespace:   Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Syntax

public bool IsTransient(
    Exception ex
)
public:
virtual bool IsTransient(
    Exception^ ex
) sealed
abstract IsTransient : 
        ex:Exception -> bool
override IsTransient : 
        ex:Exception -> bool
Public Function IsTransient (
    ex As Exception
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if exception is transient otherwise false.

Implements

ITransientErrorDetectionStrategy.IsTransient(Exception)

See Also

DefaultHttpErrorDetectionStrategy Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace

Return to top