public virtual void OnErrorCallback(int cid, RemoteException exception) { if (!RemoteCallingRecode.ContainsKey(cid)) { return; } RemoteCallingRecode[cid].OnError(exception); RemoteCallingRecode.Remove(cid); }
public void OnError(RemoteException exception) { Exception = exception; AutoResetEvent.Set(); ErrorCallback?.Invoke(exception); }