IOCompletionCallback IOCompletionCallback IOCompletionCallback IOCompletionCallback Delegate

Definition

Important

This API is not CLS-compliant.

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

Parameters

errorCode
UInt32 UInt32 UInt32 UInt32

The error code.

numBytes
UInt32 UInt32 UInt32 UInt32

The number of bytes that are transferred.

pOVERLAP
NativeOverlapped*

A NativeOverlapped representing an unmanaged pointer to the native overlapped value type.

Inheritance
IOCompletionCallbackIOCompletionCallbackIOCompletionCallbackIOCompletionCallback
Attributes

Extension Methods

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Security

SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to