IOCompletionCallback Делегат

Определение

Важно!

Этот API несовместим с CLS.

Получает код ошибки, количество байтов и тип перекрывающегося значения при завершении операции ввода-вывода в пуле потоков.

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

Параметры

errorCode
UInt32

Код ошибки.

numBytes
UInt32

Количество переданных байтов.

pOVERLAP
NativeOverlapped*

Структура NativeOverlapped, представляющая неуправляемый указатель на собственный тип перекрывающегося значения.

Атрибуты

Методы расширения

GetMethodInfo(Delegate)

Получает объект, представляющий метод, представленный указанным делегатом.

Применяется к