IOCompletionCallback 代理人

定義

重要

この API は CLS 準拠ではありません。

I/O 操作がスレッド プールで完了すると、エラー コード、バイト数、および重複値型を受け取ります。Receives the error code, number of bytes, and overlapped value type when an I/O operation completes on the thread pool.

public delegate void IOCompletionCallback(System::UInt32 errorCode, System::UInt32 numBytes, NativeOverlapped* pOVERLAP);
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public delegate void IOCompletionCallback(uint errorCode, uint numBytes, NativeOverlapped* pOVERLAP);
type IOCompletionCallback = delegate of uint32 * uint32 * nativeptr<NativeOverlapped> -> unit
Public Delegate Sub IOCompletionCallback(errorCode As UInteger, numBytes As UInteger, pOVERLAP As NativeOverlapped*)

パラメーター

errorCode
UInt32

エラー コード。The error code.

numBytes
UInt32

転送されるバイト数。The number of bytes that are transferred.

pOVERLAP
NativeOverlapped*

ネイティブな重複値型を指すアンマネージ ポインターを表す NativeOverlappedA NativeOverlapped representing an unmanaged pointer to the native overlapped value type.

継承
IOCompletionCallback
属性

拡張メソッド

GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。Gets an object that represents the method represented by the specified delegate.

適用対象