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!

FileStream.EndWrite

Ends an asynchronous write. It will block until the IO operation has completed.

[Visual Basic]
Overrides Public Function EndWrite( _
   ByVal asyncResult As IAsyncResult _
) As Integer
[C#]
public override int EndWrite(
   IAsyncResult asyncResult
);
[C++]
public: override int EndWrite(
   IAsyncResult* asyncResult
);
[JScript]
public override 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

See Also

FileStream Class | FileStream Members | System.IO Namespace