System::IO::Stream::BeginWrite メソッド

Stream::BeginWrite method

非同期書き込み操作を開始します。

virtual System::SharedPtr<System::IAsyncResult> System::IO::Stream::BeginWrite(System::ArrayPtr<uint8_t> buffer, int offset, int count, System::AsyncCallback callback, System::SharedPtr<System::Object> state)
パラメーター説明
バッファSystem::ArrayPtr<uint8_t>書き込むデータを含むバッファ
offsetintbuffer 内の 0 ベースのオフセットで、書き込みデータが開始する位置を示します
countint書き込むバイト数
コールバックSystem::AsyncCallback操作が完了したときに呼び出されるコールバック
状態System::SharedPtr<System::Object>各非同期書き込み操作を一意に識別するためにユーザーが提供するデータ

ReturnValue

開始された非同期書き込み操作を表す IAsyncResult オブジェクト

参照