다음을 통해 공유


ClientHandler.SendAsync(HttpRequestMessage, CancellationToken) 메서드

정의

이렇게 하면 HttpRequestMessages가 ASP.NET Core 요청을 조정하고, 파이프라인을 통해 디스패치하고, 연결된 HttpResponseMessage를 반환합니다.

protected:
 override System::Threading::Tasks::Task<System::Net::Http::HttpResponseMessage ^> ^ SendAsync(System::Net::Http::HttpRequestMessage ^ request, System::Threading::CancellationToken cancellationToken);
protected override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);
override this.SendAsync : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Protected Overrides Function SendAsync (request As HttpRequestMessage, cancellationToken As CancellationToken) As Task(Of HttpResponseMessage)

매개 변수

반환

Task<TResult> 를 반환하는 입니다HttpResponseMessage.

적용 대상