C # in a Nutshell, Second Edition
This structure returns a LockCookie representing the type of lock (read or write) released. The same type of lock can be restored by calling ReaderWriterLock.RestoreLock( ) . public struct LockCookie { // No public or protected members } Hierarchy
System.Object Returned By
ReaderWriterLock.{ReleaseLock( ) , UpgradeToWriterLock( )} Passed To
ReaderWriterLock.{DowngradeFromWriterLock( ) , RestoreLock( )} |