Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.EndGetRequestStream Method |
Completes an asynchronous request for a stream that was started by the HttpWebRequest.BeginGetRequestStream(AsyncCallback, object) method. [Edit]
|
- asyncResult
- The IAsyncResult object that holds the state information for the asynchronous operation. [Edit]
A System.IO.Stream to write request data to. [Edit]
Type Reason ArgumentNullException asyncResult is null. [Edit] ArgumentException asyncResult was not returned by the current instance from a call to WebRequest.BeginGetRequestStream(AsyncCallback, object). [Edit] InvalidOperationException This method was called previously using asyncResult.
-or-
No stream is available.
[Edit]System.Net.WebException HttpWebRequest.Abort was previously called.
-or-
An error occurred while processing the request.
[Edit]
Note:[Edit]The caller is responsible for calling the System.IO.Stream.Close method to close the stream.
This method overrides WebRequest.EndGetRequestStream(IAsyncResult).
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0