From 4b1d8e6d0f72556b095912d85e7fe3250711170d Mon Sep 17 00:00:00 2001 From: Desmond Chin Date: Sat, 11 May 2019 03:11:48 +0800 Subject: [PATCH] Add missing docs for HttpClient.PatchAsync (#2426) * add vb member signature for PatchAsync * add description * Apply suggestions from code review Co-Authored-By: Ron Petrusha --- xml/System.Net.Http/HttpClient.xml | 76 +++++++++++++++++++++--------- 1 file changed, 53 insertions(+), 23 deletions(-) diff --git a/xml/System.Net.Http/HttpClient.xml b/xml/System.Net.Http/HttpClient.xml index 228db3c2597..d1a810faef2 100644 --- a/xml/System.Net.Http/HttpClient.xml +++ b/xml/System.Net.Http/HttpClient.xml @@ -1400,11 +1400,18 @@ public class GoodController : ApiController - To be added. - To be added. - To be added. - To be added. - To be added. + The Uri the request is sent to. + The HTTP request content sent to the server. + Sends a PATCH request to a Uri designated as a string as an asynchronous operation. + The task object representing the asynchronous operation. + + object will complete after the whole response (including content) is read. + + ]]> + @@ -1431,17 +1438,25 @@ public class GoodController : ApiController - To be added. - To be added. - To be added. - To be added. - To be added. + The Uri the request is sent to. + The HTTP request content sent to the server. + Sends a PATCH request as an asynchronous operation. + The task object representing the asynchronous operation. + + object will complete after the whole response (including content) is read. + + ]]> + + Method @@ -1462,18 +1477,26 @@ public class GoodController : ApiController - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The Uri the request is sent to. + The HTTP request content sent to the server. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + Sends a PATCH request with a cancellation token to a Uri represented as a string as an asynchronous operation. + The task object representing the asynchronous operation. + + object will complete after the whole response (including content) is read. + + ]]> + + Method @@ -1494,12 +1517,19 @@ public class GoodController : ApiController - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The Uri the request is sent to. + The HTTP request content sent to the server. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + Sends a PATCH request with a cancellation token as an asynchronous operation. + The task object representing the asynchronous operation. + + object will complete after the whole response (including content) is read. + + ]]> + @@ -2152,4 +2182,4 @@ public class GoodController : ApiController - \ No newline at end of file +