void ReadCallback(IAsyncResult asynchronousResult) { EdgeServerResultEventArgs result; try { result = new EdgeServerResultEventArgs(EndGetEdgeServer(asynchronousResult)); } catch (Exception ex) { result = new EdgeServerResultEventArgs(ex); } if (GetEdgeServerCompleted != null) { GetEdgeServerCompleted(this, result); } }
void ReadCallback(IAsyncResult asynchronousResult) { EdgeServerResultEventArgs result; try { result = new EdgeServerResultEventArgs(EndGetEdgeServer(asynchronousResult)); } catch (Exception ex) { result = new EdgeServerResultEventArgs(ex); } if (GetEdgeServerCompleted != null) GetEdgeServerCompleted(this, result); }