Visual Basic (Declaration) | |
---|---|
Public Shared Function Acquire( _ ByVal lck As ILockStrategy, _ ByVal timeout As Integer _ ) As WriteLock |
C# | |
---|---|
public static WriteLock Acquire( ILockStrategy lck, int timeout ) |
Parameters
- lck
- timeout
Exception | Description |
---|---|
System.TimeoutException | The exception that is thrown when the time allotted for a process or operation has expired. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
WriteLock StructureWriteLock Members
ILockStrategy
Used By
WriteLock ReservedWriteLocking.Write()WriteLock ReservedWriteLocking.Write(Int32)
WriteLock DebugLocking.Write(Int32)
WriteLock DebugLocking.Write()
WriteLock ExclusiveLocking.Write()
WriteLock ExclusiveLocking.Write(Int32)
WriteLock ReaderWriterLocking.Write()
WriteLock ReaderWriterLocking.Write(Int32)
WriteLock SimpleReadWriteLocking.Write()
WriteLock SimpleReadWriteLocking.Write(Int32)
WriteLock WriterOnlyLocking.Write()
WriteLock WriterOnlyLocking.Write(Int32)