WstFileStream.BeginRead Method

[This is internal Microsoft documentation - Do not distribute.]

Overridden. Gets or sets the current position of this stream.

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public Overrides Function BeginRead ( _
    array As Byte(), _
    offset As Integer, _
    numBytes As Integer, _
    userCallback As AsyncCallback, _
    stateObject As Object _
) As IAsyncResult
  public override IAsyncResult BeginRead (
    byte[] array,
    int offset,
    int numBytes,
    AsyncCallback userCallback,
    Object stateObject
)

Parameters

  • array
    The buffer to read data into.
  • offset
    The byte offset in array at which to begin reading.
  • numBytes
    The maximum number of bytes to read.
  • userCallback
    The method to be called when the asynchronous read operation is completed.
  • stateObject
    A user-provided object that distinguishes this particular asynchronous read request from other requests.

Return Value

An IAsyncResult that references the asynchronous read.

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