ResilienceHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for resilience handler, i.e. handlers that use resilience strategies to send the requests.
public ref class ResilienceHandler : System::Net::Http::DelegatingHandler
public class ResilienceHandler : System.Net.Http.DelegatingHandler
type ResilienceHandler = class
inherit DelegatingHandler
Public Class ResilienceHandler
Inherits DelegatingHandler
- Inheritance
Constructors
ResilienceHandler(Func<HttpRequestMessage,ResiliencePipeline<HttpResponseMessage>>) |
Initializes a new instance of the ResilienceHandler class. |
ResilienceHandler(ResiliencePipeline<HttpResponseMessage>) |
Initializes a new instance of the ResilienceHandler class. |
Methods
Send(HttpRequestMessage, CancellationToken) |
Sends an HTTP request to the inner handler to send to the server as a synchronous operation. |
SendAsync(HttpRequestMessage, CancellationToken) |
Sends an HTTP request to the inner handler to send to the server as an asynchronous operation. |