Wait for a WCF Service to complete in Silverlight application

Sujina
 
on Dec 15, 2013 11:31 PM
5444 Views


Hi freinds

          I am struggling with my wcf service in silverlight4 application.How can I wait for an async WCF service to complete?.Please give me a solution .I am waiting for your reply.My code is given below

 ServiceReference1.DragAndDropClient client = new SilApp.ServiceReference1.DragAndDropClient();
client.GetSublayersCompleted += new EventHandler<SilApp.ServiceReference1.GetSublayersCompletedEventArgs>GetSublayer);
client.GetSublayersAsync(1);


Thanks
Sujina

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Mudassar
 
on Dec 17, 2013 12:02 AM

Refer

http://stackoverflow.com/questions/12845059/how-best-to-wait-for-a-silverlight-4-asynchronous-call