/// <summary> /// 将指定ID从队列中移除 /// </summary> /// <param name="lid"></param> public void Remove(long lID) { if (lID <= 0) { return; } lock (oLock) { lstWaitingID.Remove(lID); lstWaitingIDInDB.Remove(lID); } }