MessageProcessingHandler.Send(HttpRequestMessage, CancellationToken) Método

Definición

Envía una solicitud HTTP al controlador interno para enviar al servidor.Sends an HTTP request to the inner handler to send to the server.

protected public:
 override System::Net::Http::HttpResponseMessage ^ Send(System::Net::Http::HttpRequestMessage ^ request, System::Threading::CancellationToken cancellationToken);
protected internal override sealed System.Net.Http.HttpResponseMessage Send (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);
override this.Send : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Net.Http.HttpResponseMessage
Protected Friend Overrides NotOverridable Function Send (request As HttpRequestMessage, cancellationToken As CancellationToken) As HttpResponseMessage

Parámetros

request
HttpRequestMessage

Mensaje de la solicitud HTTP que se va a enviar al servidor.The HTTP request message to send to the server.

cancellationToken
CancellationToken

Token de cancelación que pueden usar otros objetos o subprocesos para recibir el aviso de cancelación.A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Devoluciones

HttpResponseMessage

Mensaje de respuesta HTTP.The HTTP response message.

Se aplica a