SyncMemoryStream.EndRead(IAsyncResult) SyncMemoryStream.EndRead(IAsyncResult) SyncMemoryStream.EndRead(IAsyncResult) Method

Definition

Waits for the pending asynchronous read to complete.

public override int EndRead (IAsyncResult asyncResult);
override this.EndRead : IAsyncResult -> int
Public Overrides Function EndRead (asyncResult As IAsyncResult) As Integer
Parameters
asyncResult
IAsyncResult IAsyncResult IAsyncResult

The reference to the pending asynchronous request to finish.

Returns

The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached.

Applies to