public static void RemoteAsyncCallBackAdd(IAsyncResult ar) { AsyncAddDelegate del = (AsyncAddDelegate)((AsyncResult)ar).AsyncDelegate; try { del.EndInvoke(ar); } catch (Exception e) { Console.WriteLine("(ADD) COULD NOT REACH"); } }
public static void RemoteAsyncCallBackAdd(IAsyncResult ar) { AsyncAddDelegate del = (AsyncAddDelegate)((AsyncResult)ar).AsyncDelegate; try { del.EndInvoke(ar); }catch (Exception ex) { return; } //throw new NotImplementedException(); }
public static void RemoteAsyncCallBackAdd(IAsyncResult ar) { AsyncAddDelegate del = (AsyncAddDelegate)((AsyncResult)ar).AsyncDelegate; del.EndInvoke(ar); }