示例#1
0
        public bool DeleteTTL(string key)
        {
            if (string.IsNullOrWhiteSpace(key))
            {
                throw new ArgumentException("Parameter is invalid.", "key", null);
            }

            try
            {
                return(_db.KeyPersist(key));
            }
            catch (Exception)
            {
                throw;
            }
            finally
            { }
        }