GetResponseAsync Method

WebRequest.GetResponseAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a descendant class, returns a response to an Internet request as an asynchronous operation.

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

'Declaration
Public Overridable Function GetResponseAsync As Task(Of WebResponse)

Return Value

Type: System.Threading.Tasks.Task(Of WebResponse)
Returns the Task(Of TResult) representing the asynchronous operation.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft