Class SuppressHostPrincipalMessageHandler
Represents a message handler that suppresses host authentication results.
public class SuppressHostPrincipalMessageHandler : DelegatingHandler, IDisposable
- Inheritance
-
SuppressHostPrincipalMessageHandler
- Implements
- Inherited Members
Constructors
SuppressHostPrincipalMessageHandler()
Initializes a new instance of the SuppressHostPrincipalMessageHandler class.
public SuppressHostPrincipalMessageHandler()
Methods
SendAsync(HttpRequestMessage, CancellationToken)
Asynchronously sends a request message.
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
request
HttpRequestMessageThe request message to send.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<HttpResponseMessage>
That task that completes the asynchronous operation.