Mono Class Library: System.IO.Stream Overview | MembersSystem.IO.Stream.EndWrite Method |
Ends an asynchronous write operation. [Edit]
|
- asyncResult
- A IAsyncResult that references the outstanding asynchronous I/O request. [Edit]
Type Reason ArgumentNullException The asyncResult parameter is null. [Edit] ArgumentException asyncResult did not originate from a Stream.BeginWrite(Byte[], int, int, AsyncCallback, object) method on the current stream. [Edit]
Stream.EndWrite(IAsyncResult) is required to be called exactly once for every Stream.BeginWrite(Byte[], int, int, AsyncCallback, object). Stream.EndWrite(IAsyncResult) blocks until the write I/O operation has completed.
Operation
As described above. [Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0