Mono Class Library: System.Net.WebRequest Overview | MembersSystem.Net.WebRequest.EndGetResponse Method |
Returns a System.Net.WebResponse that contains a response to a specified pending request. [Edit]
|
- asyncResult
- A IAsyncResult object that references a pending request that was started with WebRequest.BeginGetResponse(AsyncCallback, object). [Edit]
A System.Net.WebResponse that contains a response to the request referenced by asyncResult. [Edit]
Type Reason NotSupportedException This method is not overridden in the derived class. [Edit] ArgumentException asyncResult was not returned by a call to WebRequest.BeginGetResponse(AsyncCallback, object). [Edit] ArgumentNullException asyncResult is a null reference. [Edit] InvalidOperationException The WebRequest.ContentLength property of the current instance is greater than zero but no data has been written to the request stream.
-or-
This method was called previously using asyncResult.
[Edit]System.Net.WebException An error occurred while processing the request. [Edit]
Operation
As described above.The System.Net.WebRequest class is abstract and does not provide an implementation for this method. This method throws NotSupportedException.
Note to Inheritors
This method must be overridden by classes that inherit from System.Net.WebRequest to provide this functionality.Usage
Use this method to complete an asynchronous request for an Internet resource that was started with the WebRequest.BeginGetResponse(AsyncCallback, object) method. [Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0