AsyncCallback Delegate
Collapse the table of content
Expand the table of content

AsyncCallback Delegate

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

References a method to be called when a corresponding asynchronous operation is completed.

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

public delegate void AsyncCallback(
	IAsyncResult ar


Type: System.IAsyncResult
The result of the asynchronous operation.

Use an AsyncCallback delegate to process the results of an asynchronous operation in a separate thread. The AsyncCallback delegate represents a callback method that is called when the asynchronous operation is completed. The callback method takes an IAsyncResult parameter, which is subsequently used to obtain the results of the asynchronous operation.

Version Notes

Windows Phone

 Asynchronous delegate calls, specifically the BeginInvoke and EndInvoke methods, are not supported in Windows Phone. If you attempt to invoke delegates asynchronously, the application throws TargetInvocationException instead of NotSupportedException.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2016 Microsoft