MessageProcessingHandler.Send(HttpRequestMessage, CancellationToken) Methode

Definition

Sendet eine HTTP-Anforderung an den inneren Handler, die an den Server gesendet werden soll.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

Parameter

request
HttpRequestMessage

Die an den Server zu sendende HTTP-Anforderungsmeldung.The HTTP request message to send to the server.

cancellationToken
CancellationToken

Ein Abbruchtoken, das von anderen Objekten oder Threads verwendet werden kann, um Nachricht vom Abbruch zu empfangen.A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Gibt zurück

HttpResponseMessage

Die HTTP-Antwortnachricht.The HTTP response message.

Gilt für: