.net - Multithread Windows Service -


how , multithread code. have windows service collects events windows system log. service forwards collected events remote service. code in vb.net. using addhandler , eventwritten detect when events generated.

you use tpl , create tasks whatever want asynchronouos. afterwards use task.waitall let tasks complete. specify nothing real problem makes difficult give advice. suspect need start tasks sending events service. awaiting becomes dificult since model sound asynchronous.

http://msdn.microsoft.com/en-us/library/dd460717.aspx


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -