Table of Contents

Delegate AsyncCallback

Namespace
System
Assembly
mscorlib.dll

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

public delegate void AsyncCallback(IAsyncResult ar)

Parameters

ar IAsyncResult

The result of the asynchronous operation.

Extension Methods

Constructors

AsyncCallback(object, IntPtr)

public AsyncCallback(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(IAsyncResult, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IAsyncResult ar, AsyncCallback callback, object @object)

Parameters

ar IAsyncResult
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(IAsyncResult)

public virtual void Invoke(IAsyncResult ar)

Parameters

ar IAsyncResult