Partager via


StreamHelper.BeginReadBytes Method

Definition

Overloads

BeginReadBytes(Stream, Int64, Int32, AsyncCallback, Object)
BeginReadBytes(Stream, Int64, Int32, SeekOrigin, AsyncCallback, Object)

BeginReadBytes(Stream, Int64, Int32, AsyncCallback, Object)

public static IAsyncResult BeginReadBytes (System.IO.Stream stream, long offset, int length, AsyncCallback callback, object state);
static member BeginReadBytes : System.IO.Stream * int64 * int * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginReadBytes (stream As Stream, offset As Long, length As Integer, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

stream
Stream
offset
Int64
length
Int32
callback
AsyncCallback
state
Object

Returns

Applies to

BeginReadBytes(Stream, Int64, Int32, SeekOrigin, AsyncCallback, Object)

public static IAsyncResult BeginReadBytes (System.IO.Stream stream, long offset, int length, System.IO.SeekOrigin origin, AsyncCallback callback, object state);
static member BeginReadBytes : System.IO.Stream * int64 * int * System.IO.SeekOrigin * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginReadBytes (stream As Stream, offset As Long, length As Integer, origin As SeekOrigin, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

stream
Stream
offset
Int64
length
Int32
origin
SeekOrigin
callback
AsyncCallback
state
Object

Returns

Applies to