MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IOCompletionCallback Delegate

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]

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:
© 2016 Microsoft