AsyncCallback Delegate
References the callback method to be invoked when an asynchronous operation is completed.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
[SerializableAttribute]
public delegate void AsyncCallback (
IAsyncResult ar
)
Parameters
- ar
The result of the asynchronous operation.
Remarks
The declaration of your callback method must have the same parameters as the AsyncCallback delegate declaration.
The AsyncCallback delegate provides a way for client applications to complete an asynchronous operation. This callback delegate is supplied to the client when the asynchronous operation is initiated. The event handler referenced by AsyncCallback contains program logic to finish processing the asynchronous task for the client.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.