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)

public bool IsTransient(
	Exception ex
)

Parameters

ex
Type: System.Exception

Exception to check against.

Return Value

Type: System.Boolean

True if exception is transient otherwise false.

Return to top
Show: