IOCompletionCallback Delegar

Definição

Importante

Esta API não está em conformidade com CLS.

Recebe o código de erro, o número de bytes e o tipo de valor sobreposto quando uma operação de E/S é concluída no pool de threads.

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*)

Parâmetros

errorCode
UInt32

O código de erro.

numBytes
UInt32

O número de bytes transferidos.

pOVERLAP
NativeOverlapped*

Uma NativeOverlapped que representa um ponteiro não gerenciado para o tipo de valor sobreposto nativo.

Atributos

Métodos de Extensão

GetMethodInfo(Delegate)

Obtém um objeto que representa o método representado pelo delegado especificado.

Aplica-se a