Share via


HttpWorkerRequest.BeginRead メソッド

定義

要求エンティティ ボディの非同期読み取り操作を開始します。

public:
 virtual IAsyncResult ^ BeginRead(cli::array <System::Byte> ^ buffer, int offset, int count, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginRead (byte[] buffer, int offset, int count, AsyncCallback callback, object state);
abstract member BeginRead : byte[] * int * int * AsyncCallback * obj -> IAsyncResult
override this.BeginRead : byte[] * int * int * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginRead (buffer As Byte(), offset As Integer, count As Integer, callback As AsyncCallback, state As Object) As IAsyncResult

パラメーター

buffer
Byte[]

データを読み込むバッファー。

offset
Int32

データ書き込みの開始位置を示すバッファー内のバイト オフセット。

count
Int32

読み取る最大バイト数。

callback
AsyncCallback

対応する非同期操作が完了したときに呼び出すメソッド。

state
Object

この特定の非同期の読み取り要求を他の要求と区別するユーザー指定オブジェクト。

戻り値

IAsyncResult

適用対象