code_junkie

CommunicationException on Asynchronous callback for web service called from Silverlight app

Nov 13th, 2011
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. // This is for a Ping method we created just to trouble shoot- it behaves the same.
  2. public string EndPing(System.IAsyncResult result) {
  3.  
  4. object[] _args = new object[0];
  5.  
  6. // Next line throws Communication Exception
  7. string _result = ((string)(base.EndInvoke("Ping", _args, result)));
  8. return _result;
  9. }
Add Comment
Please, Sign In to add comment