DekGenius.com
[ Team LiB ] Previous Section Next Section

LockCookieserializable

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
}

Hierarchy

System.Object System.ValueType LockCookie

Returned By

ReaderWriterLock.{ReleaseLock( ), UpgradeToWriterLock( )}

Passed To

ReaderWriterLock.{DowngradeFromWriterLock( ), RestoreLock( )}

    [ Team LiB ] Previous Section Next Section