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.

AsyncCallback Delegate

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

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

[ComVisibleAttribute(true)]
public delegate void AsyncCallback(
	IAsyncResult ar
)

Parameters

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.

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

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

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft