IsolatedStorageFileStream.BeginRead Method (Byte, Int32, Int32, AsyncCallback, Object)
Begins an asynchronous read.
Assembly: mscorlib (in mscorlib.dll)
[HostProtectionAttribute(SecurityAction.LinkDemand, ExternalThreading = true)] public override IAsyncResult BeginRead( byte buffer, int offset, int numBytes, AsyncCallback userCallback, object stateObject )
The buffer to read data into.
The byte offset in buffer at which to begin reading.
The maximum number of bytes to read.
The method to call when the asynchronous read operation is completed. This parameter is optional.
The status of the asynchronous read.
Return ValueType: System.IAsyncResult
An IAsyncResult object that represents the asynchronous read, which is possibly still pending. This IAsyncResult must be passed to this stream's EndRead method to determine how many bytes were read. This can be done either by the same code that called or in a callback passed to .
An asynchronous read was attempted past the end of the file.
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0