ReqReaderWriterLock.tryEnterReaderLock Method [AX 2012]

Makes an attempt to enter the reader lock.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public boolean tryEnterReaderLock(str _lockName, [int _waitMilliseconds])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean tryEnterReaderLock(str _lockName)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean tryEnterReaderLock(str _lockName)

  Microsoft Dynamics AX 2012 (FPK)
          public boolean tryEnterReaderLock(str _lockName)

  Microsoft Dynamics AX 2012 (SYS)
          public boolean tryEnterReaderLock(str _lockName)

Run On

Server

Parameters

_lockName
Type: str
The name of the lock.
_waitMilliseconds
Type: int

Return Value

Type: boolean
true if the lock has been acquired; otherwise, false.

Community Additions

ADD
Show: