Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.EndGetResponse Method |
Returns a System.Net.WebResponse that contains a response to the specified pending Internet request. [Edit]
|
- asyncResult
- The IAsyncResult object that hold the state information for the asynchronous operation. [Edit]
A System.Net.WebResponse that contains a response to the Internet request referenced by asyncResult . [Edit]
Type Reason ArgumentNullException asyncResult is null. [Edit] ArgumentException asyncResult was not returned by the current instance from a call to WebRequest.BeginGetResponse(AsyncCallback, object). [Edit] InvalidOperationException This method was called previously using asyncResult.
-or-
The HttpWebRequest.ContentLength property of the current instance is greater than 0 but the data has not been written to the request stream.
[Edit]System.Net.WebException HttpWebRequest.Abort was previously called.
-or-
An error occurred while processing the request.
[Edit]
Note:[Edit]This method completes an asynchronous request for an Internet resource that was started by calling HttpWebRequest.BeginGetResponse(AsyncCallback, object).
This method overrides WebRequest.EndGetResponse(IAsyncResult).
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0