WstFileStream.EndRead Method
[This is internal Microsoft documentation - Do not distribute.]
Overridden. Waits for the pending asynchronous read to complete.
Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)
Syntax
'Declaration
Public Overrides Function EndRead ( _
asyncResult As IAsyncResult _
) As Integer
public override int EndRead (
IAsyncResult asyncResult
)
Parameters
- asyncResult
The reference to the pending asynchronous request to wait for.
Return Value
The number of bytes read from the stream, between 0 and the number of bytes you requested. Streams only return 0 at the end of the stream, otherwise, they should block until at least 1 byte is available.
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
WstFileStream Class
WstFileStream Members
Microsoft.Webstore.WstClient Namespace