NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Stream.EndWrite

Ends an asynchronous write.

[Visual Basic]
Overridable Public Function EndWrite( _
   ByVal asyncResult As IAsyncResult _
) As Integer
[C#]
public virtual int EndWrite(
   IAsyncResult asyncResult
);
[C++]
public: virtual int EndWrite(
   IAsyncResult* asyncResult
);
[JScript]
public function EndWrite(
   asyncResult : IAsyncResult
) : int;

Parameters

asyncResult
A reference to the outstanding Asynchronous IO request.

Return Value

The number of bytes written.

Exceptions

Exception Type Condition
ArgumentNullException asyncResult is null.

Remarks

EndWrite will block until the IO operation has completed.

See Also

Stream Class | Stream Members | System.IO Namespace