/// <summary> Attempt to clear (forcefully unlock and remove) the /// specified lock. Only call this at a time when you are /// certain this lock is no longer in use. /// </summary> /// <param name="name">name of the lock to be cleared. /// </param> public virtual void ClearLock(System.String name) { if (lockFactory != null) { lockFactory.ClearLock(name); } }
public override void ClearLock(System.String lockName) { lock (this) { lf.ClearLock(lockName); } }