IOCompletionCallback Delegate

July 28, 2014

For apps that target Windows Phone OS 7.0 and 7.1, do not use any members of this type in your app. If you do, your code will throw a MethodAccessException. This type is security-critical, which restricts it to internal use by the .NET Framework for Windows Phone class library.
[SECURITY CRITICAL]

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)]
[SecurityCriticalAttribute]
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft