IOCompletionCallback Delegate
.NET Framework (current version)
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.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] [CLSCompliantAttribute(false)] [ComVisibleAttribute(true)] public delegate void IOCompletionCallback( unsigned int errorCode, unsigned int 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.
SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: