System.Threading (mscorlib.dll)struct

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


System.Object System.ValueType LockCookie

Returned By

ReaderWriterLock.{ReleaseLock( ), UpgradeToWriterLock( )}

Passed To

ReaderWriterLock.{DowngradeFromWriterLock( ), RestoreLock( )}

    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System