The asynchronous function make use of two methods. The first begins Begin and requests the thread pool standard perform the operation. Once the transaction is complete, a delegate from the program is called. It then calls the method whose name starts with End to retrieve the value returned by the asynchronous method. Refer following syntax:
Code:
IAsyncResult nameOfBeginmethod ( arguments_non_ref ..., AsyncCallback callback, state of object )
type_retour nameOfEndmethod (IAsyncResult, arguments_ref )
Bookmarks