다음을 통해 공유


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 (
         IAsyncResultar
)

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, and 4.1.

See Also

Reference

System Namespace