Upgrades the thread to a writer. If the thread has is a reader, it is possible that the reader lock was released before writer lock was acquired.
[Visual Basic] Overloads Public Function UpgradeToWriterLock( _ ByVal timeout As TimeSpan _ ) As LockCookie [C#] public LockCookie UpgradeToWriterLock( TimeSpan timeout ); [C++] public: LockCookie UpgradeToWriterLock( TimeSpan timeout ); [JScript] public function UpgradeToWriterLock( timeout : TimeSpan ) : LockCookie;
Lock cookie.
To be supplied
ReaderWriterLock Class | ReaderWriterLock Members | System.Threading Namespace | ReaderWriterLock.UpgradeToWriterLock Overload List