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 (TimeSpan)

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;

Parameters

timeout
Timeout period.

Return Value

Lock cookie.

Remarks

To be supplied

See Also

ReaderWriterLock Class | ReaderWriterLock Members | System.Threading Namespace | ReaderWriterLock.UpgradeToWriterLock Overload List