NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ReaderWriterLock.UpgradeToWriterLock

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.

Overload List

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(TimeSpan) As LockCookie
[C#] public LockCookie UpgradeToWriterLock(TimeSpan);
[C++] public: LockCookie UpgradeToWriterLock(TimeSpan);
[JScript] public function UpgradeToWriterLock(TimeSpan) : LockCookie;

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(Integer) As LockCookie
[C#] public LockCookie UpgradeToWriterLock(int);
[C++] public: LockCookie UpgradeToWriterLock(int);
[JScript] public function UpgradeToWriterLock(int) : LockCookie;

See Also

ReaderWriterLock Class | ReaderWriterLock Members | System.Threading Namespace