Title: Windows Forms-Lesson 8-Showing three ways of calling methods asynchronously
Duration: 16 minutes
Summary: In this video we will show three ways of calling methods asynchronously. You can call BeginInvoke and EndInvoke in several ways: 1- Calling BeginInvoke, doing work, and then calling EndInvoke on the same thread. 2- Calling BeginInvoke, polling IAsynchResult until the asynchronous operation is completed, and then calling EndInvoke. 3- Calling BeginInvoke, specifying a callback method to be executed when the asynchronous operation has completed, and calling EndInvoke on a seperate thread..
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Windows Forms and .NET 3.5
Keywords: Form, delegate, Thread, DateTime, CancellationPending, RunWorkerAsync, CancelAsync, IAsyncResult, Sleep, BeginInvoke, EndInvoke, AsyncState.









See the prices for this post in Mr.Bool Credits System below: