ReaderLock Constructor (ReaderWriterLock, Int32)

Tries to acquire a reader lock on the rwLock received with the timeout specified.

Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public Sub New ( _
    rwLock As ReaderWriterLock, _
    millisecondsTimeout As Integer _
)
'Usage
Dim rwLock As ReaderWriterLock
Dim millisecondsTimeout As Integer

Dim instance As New ReaderLock(rwLock, millisecondsTimeout)
public ReaderLock (
    ReaderWriterLock rwLock,
    int millisecondsTimeout
)
public:
ReaderLock (
    ReaderWriterLock^ rwLock, 
    int millisecondsTimeout
)
public ReaderLock (
    ReaderWriterLock rwLock, 
    int millisecondsTimeout
)
public function ReaderLock (
    rwLock : ReaderWriterLock, 
    millisecondsTimeout : int
)

Parameters

  • rwLock
  • millisecondsTimeout

See Also

Reference

ReaderLock Class
ReaderLock Members
Microsoft.Practices.CompositeUI Namespace