Share via


RetryHandler Class

 

Represents a handler for the retry operation.

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

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpMessageHandler
    System.Net.Http.DelegatingHandler
      Microsoft.WindowsAzure.RetryHandler

Syntax

public class RetryHandler : DelegatingHandler
public ref class RetryHandler : DelegatingHandler
type RetryHandler = 
    class
        inherit DelegatingHandler
    end
Public Class RetryHandler
    Inherits DelegatingHandler

Constructors

Name Description
System_CAPS_pubmethod RetryHandler()

Initializes a new instance of the RetryHandler class.

System_CAPS_pubmethod RetryHandler(DelegatingHandler)

Initializes a new instance of the RetryHandler class. Sets the default retry policty base on Exponential Backoff.

System_CAPS_pubmethod RetryHandler(RetryPolicy, DelegatingHandler)

Initializes a new instance of the RetryHandler class.

Properties

Name Description
System_CAPS_pubproperty InnerHandler

(Inherited from DelegatingHandler.)

System_CAPS_pubproperty RetryPolicy

Gets or sets retry policy.

Methods

Name Description
System_CAPS_pubmethod Dispose()

(Inherited from HttpMessageHandler.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from DelegatingHandler.)

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_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

(Inherited from DelegatingHandler.)

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

Asynchronously sends the retry request.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent Retrying

An instance of a callback delegate that will be invoked whenever a retry condition is encountered.

Extension Methods

Name Description
System_CAPS_pubmethod GetHttpPipeline()

Overloaded. Gets the HTTP pipeline that is formed from the starting handler.(Defined by CloudExtensions.)

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 Namespace

Return to top