HttpClient.PatchAsync 메서드

정의

오버로드

PatchAsync(String, HttpContent)

PATCH 요청을 비동기 작업으로 지정된 Uri에 문자열로 보냅니다.Sends a PATCH request to a Uri designated as a string as an asynchronous operation.

PatchAsync(Uri, HttpContent)

PATCH 요청을 비동기 작업으로 보냅니다.Sends a PATCH request as an asynchronous operation.

PatchAsync(String, HttpContent, CancellationToken)

취소 토큰이 포함된 PATCH 요청을 비동기 작업으로 문자열로 표현되는 Uri로 보냅니다.Sends a PATCH request with a cancellation token to a Uri represented as a string as an asynchronous operation.

PatchAsync(Uri, HttpContent, CancellationToken)

취소 토큰이 포함된 PATCH 요청을 비동기 작업으로 보냅니다.Sends a PATCH request with a cancellation token as an asynchronous operation.

PatchAsync(String, HttpContent)

PATCH 요청을 비동기 작업으로 지정된 Uri에 문자열로 보냅니다.Sends a PATCH request to a Uri designated as a string as an asynchronous operation.

public:
 System::Threading::Tasks::Task<System::Net::Http::HttpResponseMessage ^> ^ PatchAsync(System::String ^ requestUri, System::Net::Http::HttpContent ^ content);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (string? requestUri, System.Net.Http.HttpContent content);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (string requestUri, System.Net.Http.HttpContent content);
member this.PatchAsync : string * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function PatchAsync (requestUri As String, content As HttpContent) As Task(Of HttpResponseMessage)

매개 변수

requestUri
String

요청이 전송되는 URI입니다.The Uri the request is sent to.

content
HttpContent

서버로 전송된 HTTP 요청 콘텐츠입니다.The HTTP request content sent to the server.

반환

Task<HttpResponseMessage>

비동기 작업(operation)을 나타내는 작업(task) 개체입니다.The task object representing the asynchronous operation.

설명

이 작업은 차단 되지 않습니다.This operation will not block. 반환 된 Task<TResult> 개체는 전체 응답 (콘텐츠 포함)을 읽은 후에 완료 됩니다.The returned Task<TResult> object will complete after the whole response (including content) is read.

적용 대상

PatchAsync(Uri, HttpContent)

PATCH 요청을 비동기 작업으로 보냅니다.Sends a PATCH request as an asynchronous operation.

public:
 System::Threading::Tasks::Task<System::Net::Http::HttpResponseMessage ^> ^ PatchAsync(Uri ^ requestUri, System::Net::Http::HttpContent ^ content);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (Uri? requestUri, System.Net.Http.HttpContent content);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (Uri requestUri, System.Net.Http.HttpContent content);
member this.PatchAsync : Uri * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function PatchAsync (requestUri As Uri, content As HttpContent) As Task(Of HttpResponseMessage)

매개 변수

requestUri
Uri

요청이 전송되는 URI입니다.The Uri the request is sent to.

content
HttpContent

서버로 전송된 HTTP 요청 콘텐츠입니다.The HTTP request content sent to the server.

반환

Task<HttpResponseMessage>

비동기 작업(operation)을 나타내는 작업(task) 개체입니다.The task object representing the asynchronous operation.

설명

이 작업은 차단 되지 않습니다.This operation will not block. 반환 된 Task<TResult> 개체는 전체 응답 (콘텐츠 포함)을 읽은 후에 완료 됩니다.The returned Task<TResult> object will complete after the whole response (including content) is read.

적용 대상

PatchAsync(String, HttpContent, CancellationToken)

취소 토큰이 포함된 PATCH 요청을 비동기 작업으로 문자열로 표현되는 Uri로 보냅니다.Sends a PATCH request with a cancellation token to a Uri represented as a string as an asynchronous operation.

public:
 System::Threading::Tasks::Task<System::Net::Http::HttpResponseMessage ^> ^ PatchAsync(System::String ^ requestUri, System::Net::Http::HttpContent ^ content, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (string? requestUri, System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (string requestUri, System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken);
member this.PatchAsync : string * System.Net.Http.HttpContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function PatchAsync (requestUri As String, content As HttpContent, cancellationToken As CancellationToken) As Task(Of HttpResponseMessage)

매개 변수

requestUri
String

요청이 전송되는 URI입니다.The Uri the request is sent to.

content
HttpContent

서버로 전송된 HTTP 요청 콘텐츠입니다.The HTTP request content sent to the server.

cancellationToken
CancellationToken

취소의 통지를 받기 위해 다른 개체나 스레드에서 사용할 수 있는 취소 토큰입니다.A cancellation token that can be used by other objects or threads to receive notice of cancellation.

반환

Task<HttpResponseMessage>

비동기 작업(operation)을 나타내는 작업(task) 개체입니다.The task object representing the asynchronous operation.

설명

이 작업은 차단 되지 않습니다.This operation will not block. 반환 된 Task<TResult> 개체는 전체 응답 (콘텐츠 포함)을 읽은 후에 완료 됩니다.The returned Task<TResult> object will complete after the whole response (including content) is read.

적용 대상

PatchAsync(Uri, HttpContent, CancellationToken)

취소 토큰이 포함된 PATCH 요청을 비동기 작업으로 보냅니다.Sends a PATCH request with a cancellation token as an asynchronous operation.

public:
 System::Threading::Tasks::Task<System::Net::Http::HttpResponseMessage ^> ^ PatchAsync(Uri ^ requestUri, System::Net::Http::HttpContent ^ content, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (Uri? requestUri, System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> PatchAsync (Uri requestUri, System.Net.Http.HttpContent content, System.Threading.CancellationToken cancellationToken);
member this.PatchAsync : Uri * System.Net.Http.HttpContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function PatchAsync (requestUri As Uri, content As HttpContent, cancellationToken As CancellationToken) As Task(Of HttpResponseMessage)

매개 변수

requestUri
Uri

요청이 전송되는 URI입니다.The Uri the request is sent to.

content
HttpContent

서버로 전송된 HTTP 요청 콘텐츠입니다.The HTTP request content sent to the server.

cancellationToken
CancellationToken

취소의 통지를 받기 위해 다른 개체나 스레드에서 사용할 수 있는 취소 토큰입니다.A cancellation token that can be used by other objects or threads to receive notice of cancellation.

반환

Task<HttpResponseMessage>

비동기 작업(operation)을 나타내는 작업(task) 개체입니다.The task object representing the asynchronous operation.

설명

이 작업은 차단 되지 않습니다.This operation will not block. 반환 된 Task<TResult> 개체는 전체 응답 (콘텐츠 포함)을 읽은 후에 완료 됩니다.The returned Task<TResult> object will complete after the whole response (including content) is read.

적용 대상