Link to home
Start Free TrialLog in
Avatar of cswebdev
cswebdev

asked on

Silverlight Async calls

I am making two async calls in silverlight.
The second call is dependent on the result of the first call. How can I make the second call wait until the first call is finished.
ASKER CERTIFIED SOLUTION
Avatar of Gautham Janardhan
Gautham Janardhan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Gautham Janardhan
Gautham Janardhan

ServiceClient c= new ServiceClient();

c.SumCompleted += (s,a)=>
{
     c.secondcallasync(......);
     c.secondCompleted += (x,y)=>
     {
     };
};

c.sumAsync(..........);
gauthampj is right. You have any problem with that ?