code_junkie

Where best to instantiate and close a Silverlight-enabled WCF Service from the Silverlight app?

Nov 12th, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. ...
  2. {
  3. App.Client.MyOperationCompleted += Client_MyOperationCompleted;
  4. App.Client.MyOperationAsync(...);
  5. }
  6.  
  7. void Client_MyOperationCompleted(object sender, MyOperationCompletedEventArgs e)
  8. {
  9. App.Client.MyOperationCompleted -= Client_MyOperationCompleted;
  10. }
Add Comment
Please, Sign In to add comment