calling methods asynchronous in Windows Service
if you are looking asynchronous method call to use in Windows Service .You are correct way.Asynchronous methods call is useful in windows service.
First of all create delegate;
public delegate void OnStartDelegate();
secondly create asynchronous call method;
private void OnStartCallback(IAsyncResult ar)
then use them in Start (or stop or anywhere you want) method like;
OnStartDelegateInst = new OnStartDelegate(OnStartAsynch);
P.S:Please do not hesitate to share your comments.