Пример #1
0
 public virtual void OnErrorCallback(int cid, RemoteException exception)
 {
     if (!RemoteCallingRecode.ContainsKey(cid))
     {
         return;
     }
     RemoteCallingRecode[cid].OnError(exception);
     RemoteCallingRecode.Remove(cid);
 }
Пример #2
0
 public void OnError(RemoteException exception)
 {
     Exception = exception;
     AutoResetEvent.Set();
     ErrorCallback?.Invoke(exception);
 }