LockCookie

LockCookie serializable

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



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net