Technology

Call a method asynchronously using AsynWaitHandle in Asp.net Part III

In Previous article, we discussed asynchronous method using Polling pattern, its asynchronous method using WaitHandle, now.

In wait handle pattern the IAsynResult has property AsyncWaitHandle which helps to keep an eye on asynchronous call. In this scenario main thread blocks and waits for signal in the meanwhile other tasks can be seen before calling endInvoke.

WaitHandle

Result:

WaitHandleResult

Download (RAR, 18KB)

Author

Hassan Askari