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!

NetworkStream.EndRead

Handle the end of an asynchronous read.

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

Parameters

asyncResult
The handle to the asychronous call.

Return Value

The number of bytes read from the stream.

See Also

NetworkStream Class | NetworkStream Members | System.Net.Sockets Namespace