Decrements the lock count on the writer lock.
ReaderWriterLock.ReleaseWriterLock decrements the writer lock count. When the count reaches zero, the writer lock is released.
If a thread has a reader lock, or no locks, calling ReleaseWriterLock throws an ApplicationException.