In Previous article we discussed about EndInvoke in asynchronous call. The subject matter of this article is polling pattern in asynchronous call. The IAsynResult object has property IsCompleted that return Boolean which will help us to check whether asynchronous call complete or not. We will add a loop that will always check either IsCompleted become true or false. Calling EndInvoke method will release all thread resources afterwards.
In next article we will discuss waitHandle pattern.