-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.Web.Http.HttpClient.TryDeleteAsync(Windows.Foundation.Uri) |
winrt method |
19H1 |
Send a DELETE request to the specified Uri as an asynchronous operation. For programming guidance for the HttpClient class, and code examples, see the HttpClient conceptual topic.
The Uri the request is sent to.
The object representing the asynchronous operation.
This operation will not throw an exception on network errors. Instead you should examine the HttpRequestResult to learn about the original HTTP request, the resulting HTTP response (if any) and error (if any). This operation will throw when the operation is canceled.
This operation will not block. The returned IAsyncOperationWithProgress (of HttpRequestResult and HttpProgress) completes after the whole response (including content) is read.
HttpRequestResult, HttpProgress, HttpResponseMessage, HttpClient