.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Code Snippets >> Collections >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Differences between Invoke and Begin Invoke

Posted By:Karthikeyan Anbarasan       Posted Date: June 28, 2011    Points: 40    Category: Collections    URL: http://www.dotnetspark.com  

Differences between Invoke and Begin Invoke

These points shows difference between invoke and begin invoke

·         Delegate.Invoke: Executes synchronously, on the same thread.

·         Delegate.BeginInvoke: Executes asynchronously, on a threadpool thread.

·         Control.Invoke: Executes on the UI thread, but calling thread waits for completion before continuing.

·         Control.BeginInvoke: Executes on the UI thread, and calling thread doesn't wait for completion.


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend