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
RetryHandler()

Initializes a new instance of the RetryHandler class.

RetryHandler(DelegatingHandler)

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

RetryHandler(RetryPolicy, DelegatingHandler)

Initializes a new instance of the RetryHandler class.

Properties

Name Description
InnerHandler

(Inherited from DelegatingHandler.)

RetryPolicy

Gets or sets retry policy.

Methods

Name Description
Dispose()

(Inherited from HttpMessageHandler.)

Dispose(Boolean)

(Inherited from DelegatingHandler.)

Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

SendAsync(HttpRequestMessage, CancellationToken)

(Inherited from DelegatingHandler.)

SendAsync(HttpRequestMessage, CancellationToken)

Asynchronously sends the retry request.

ToString()

(Inherited from Object.)

Events

Name Description
Retrying

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

Extension Methods

Name Description
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