PrintQueueStream.BeginWrite メソッド

定義

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

public:
 override IAsyncResult ^ BeginWrite(cli::array <System::Byte> ^ buffer, int offset, int count, AsyncCallback ^ callback, System::Object ^ state);
public override IAsyncResult BeginWrite (byte[] buffer, int offset, int count, AsyncCallback callback, object state);
override this.BeginWrite : byte[] * int * int * AsyncCallback * obj -> IAsyncResult
Public Overrides Function BeginWrite (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。まだ保留状態の場合もあります。

適用対象