言語

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 。まだ保留中である可能性があります。

適用対象