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
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class ResilienceHandler : System.Net.Http.DelegatingHandler
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ResilienceHandler = class
inherit DelegatingHandler
Public Class ResilienceHandler
Inherits DelegatingHandler
- Inheritance
- Attributes
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. |
Properties
InnerHandler |
Gets or sets the inner handler which processes the HTTP response messages. (Inherited from DelegatingHandler) |
Methods
Dispose() |
Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageHandler. (Inherited from HttpMessageHandler) |
Dispose(Boolean) |
Releases the unmanaged resources used by the DelegatingHandler, and optionally disposes of the managed resources. (Inherited from DelegatingHandler) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
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. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET