how to call async method until get success response?

Posted by ppp on Stack Overflow See other posts from Stack Overflow or by ppp
Published on 2010-12-28T13:39:22Z Indexed on 2010/12/28 15:54 UTC
Read the original article Hit count: 115

Filed under:
|
|

I am making a async method call through a delegate. Delegate pointing to a function is a void function. How can I know that the async function has been executed successfully and if not the again call that function untill I get success response. here my code-

BillService bs = new BillService();
PayAdminCommisionDelegate payCom = new PayAdminCommisionDelegate(bs.PaySiteAdminByOrderNo);
payCom.BeginInvoke(OrderNo,null,null);

© Stack Overflow or respective owner

Related posts about .NET

Related posts about asynchronous