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.Security.SecurityCritical]
public delegate void IOCompletionCallback(uint errorCode, uint numBytes, NativeOverlapped* pOVERLAP);
public delegate void IOCompletionCallback(uint errorCode, uint numBytes, NativeOverlapped* pOVERLAP);
[System.CLSCompliant(false)]
public delegate void IOCompletionCallback(uint errorCode, uint numBytes, NativeOverlapped* pOVERLAP);
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void IOCompletionCallback(uint errorCode, uint 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*

겹쳐진 값의 네이티브 형식에 대한 관리되지 않는 포인터를 나타내는 NativeOverlapped입니다.A 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.

적용 대상