Skip to main content

Class PollyDelegatingHandler

Namespace: Workspace.XBR.Xperiflow.Utilities.Retry

Assembly: Xperiflow.dll

Declaration
public class PollyDelegatingHandler : DelegatingHandler, IDisposable

Inheritance: System.Object -> System.Net.Http.HttpMessageHandler -> System.Net.Http.DelegatingHandler

Implements: System.IDisposable

Methods

SendAsync(HttpRequestMessage, CancellationToken)

Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.

Declaration
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Returns

Task<System.Net.Http.HttpResponseMessage>

The task object representing the asynchronous operation.

Parameters
TypeNameDescription
System.Net.Http.HttpRequestMessagerequestThe HTTP request message to send to the server.
System.Threading.CancellationTokencancellationTokenA cancellation token to cancel operation.
Exceptions

System.ArgumentNullException The request was null.

Implements

  • System.IDisposable

Inherited Members

  • System.Net.Http.DelegatingHandler.Dispose(System.Boolean)
  • System.Net.Http.DelegatingHandler.Send(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
  • System.Net.Http.DelegatingHandler.InnerHandler
  • System.Net.Http.HttpMessageHandler.Dispose
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?