NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AsyncCallback Delegate

Delegate for methods that complete asynchronously.

[Visual Basic]
Public Delegate Sub AsyncCallback( _
   ByVal ar As IAsyncResult _
)
[C#]
public delegate void AsyncCallback(
   IAsyncResult ar
);
[C++]
public __gc __delegate void AsyncCallback(
   IAsyncResult* ar
);

[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the AsyncCallback delegate declaration.

ar
The IAsyncResult for the async call.

Remarks

The delegate method uses the IAsyncResult to obtain information about the async call.

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

System Namespace