Export (0) Print
Expand All
Expand Minimize

IOCompletionCallback Delegate

Receives the error code, number of bytes, and overlapped value type when an I/O operation completes on the thread pool.

This API is not CLS-compliant. 

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public delegate void IOCompletionCallback(
	uint errorCode,
	uint numBytes,
	NativeOverlapped* pOVERLAP
)

Parameters

errorCode
Type: System.UInt32

The error code.

numBytes
Type: System.UInt32

The number of bytes that are transferred.

pOVERLAP
Type: System.Threading.NativeOverlapped*

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

  • SecurityCriticalAttribute 

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

Show:
© 2015 Microsoft