Share via


DefaultHttpErrorDetectionStrategy Class

 

Default Http error detection strategy based on Http Status Code.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.TransientFaultHandling.DefaultHttpErrorDetectionStrategy

Syntax

public class DefaultHttpErrorDetectionStrategy : ITransientErrorDetectionStrategy
public ref class DefaultHttpErrorDetectionStrategy : ITransientErrorDetectionStrategy
type DefaultHttpErrorDetectionStrategy = 
    class
        interface ITransientErrorDetectionStrategy
    end
Public Class DefaultHttpErrorDetectionStrategy
    Implements ITransientErrorDetectionStrategy

Constructors

Name Description
System_CAPS_pubmethod DefaultHttpErrorDetectionStrategy()

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IsTransient(Exception)

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

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace

Return to top