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

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

返品

適用対象