Share via


AsyncCallback Delegate

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

References a method to be called when a corresponding asynchronous operation completes.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Delegate Sub AsyncCallback ( _
    ar As IAsyncResult _
)
[SerializableAttribute]
public delegate void AsyncCallback(
    IAsyncResult ar
)
[SerializableAttribute]
public delegate void AsyncCallback(
    IAsyncResult^ ar
)
[<SerializableAttribute>]
type AsyncCallback = 
    delegate of 
        ar:IAsyncResult -> unit
JScript does not support delegates.

Parameters

Remarks

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 completes. The callback method takes an IAsyncResult parameter, which is subsequently used to obtain the results of the asynchronous operation.

See Also

Reference

System Namespace