Beispiel #1
0
        /// <summary>
        /// 从外部调用判断队列中是否存在指定ID
        /// </summary>
        /// <param name="lUid"></param>
        public bool QueueExists(long lID)
        {
            bool blnResult = false;

            lock (oLock)
            {
                blnResult = PubHelper.ContainsInQueue <long>(lstWaitingID, lID) || lstWaitingIDInDB.Contains(lID);
            }
            return(blnResult);
        }