ReqReaderWriterLock::enterInternal Method [AX 2012]
Acquires the lock of the specified type and with the specified name.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server private static ReqAppLockStatus enterInternal(
str _lockName,
ReqAppLockMode _mode,
int _waitMilliseconds,
Map _connectionMap)
Microsoft Dynamics AX 2012 R2 (SYS)
server private static ReqAppLockStatus enterInternal(
str _lockName,
ReqAppLockMode _mode,
boolean _wait,
Map _connectionMap)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server private static ReqAppLockStatus enterInternal(
str _lockName,
ReqAppLockMode _mode,
boolean _wait,
Map _connectionMap)
Microsoft Dynamics AX 2012 (FPK)
server private static ReqAppLockStatus enterInternal(
str _lockName,
ReqAppLockMode _mode,
boolean _wait,
Map _connectionMap)
Microsoft Dynamics AX 2012 (SYS)
server private static ReqAppLockStatus enterInternal(
str _lockName,
ReqAppLockMode _mode,
boolean _wait,
Map _connectionMap)
Run On
Server
Parameters
- _lockName
Type: str
The name of the lock.
- _mode
Type: ReqAppLockMode Enumeration
The type of the lock.
- _waitMilliseconds
Type: int
The number of milliseconds to wait for the lock to be acquired.
- _connectionMap
Type: Map Class
The map holding all the existing connections.
Return Value
Type: ReqAppLockStatus Enumeration
The value of the ReqAppLockStatus enumeration.