Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Async Method Call

Tags:

c#

.net

How can I call a method asynchronously ?

like image 567
Yoann. B Avatar asked Dec 14 '22 05:12

Yoann. B


2 Answers

How to call a Visual C# method asynchronously:
http://support.microsoft.com/kb/315582

like image 171
gkrogers Avatar answered Jan 04 '23 08:01

gkrogers


You should probably use ThreadPool.QueueUserWorkItem (ThreadPool.QueueUserWorkItem Method)

like image 25
mookid8000 Avatar answered Jan 04 '23 10:01

mookid8000