Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpClient.GetAsync Method

.NET Framework (current version)
 

Send a GET request to the specified Uri as an asynchronous operation.

Namespace:   System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

NameDescription
System_CAPS_pubmethodGetAsync(String)

Send a GET request to the specified Uri as an asynchronous operation.

System_CAPS_pubmethodGetAsync(String, CancellationToken)

Send a GET request to the specified Uri with a cancellation token as an asynchronous operation.

System_CAPS_pubmethodGetAsync(String, HttpCompletionOption)

Send a GET request to the specified Uri with an HTTP completion option as an asynchronous operation.

System_CAPS_pubmethodGetAsync(String, HttpCompletionOption, CancellationToken)

Send a GET request to the specified Uri with an HTTP completion option and a cancellation token as an asynchronous operation.

System_CAPS_pubmethodGetAsync(Uri)

Send a GET request to the specified Uri as an asynchronous operation.

System_CAPS_pubmethodGetAsync(Uri, CancellationToken)

Send a GET request to the specified Uri with a cancellation token as an asynchronous operation.

System_CAPS_pubmethodGetAsync(Uri, HttpCompletionOption)

Send a GET request to the specified Uri with an HTTP completion option as an asynchronous operation.

System_CAPS_pubmethodGetAsync(Uri, HttpCompletionOption, CancellationToken)

Send a GET request to the specified Uri with an HTTP completion option and a cancellation token as an asynchronous operation.

The operation will not block.

Return to top
Show:
© 2017 Microsoft