Ensures that the given action is executed only once if raised from multiple threads to prevent contention. Returns true, if current thread executed the action, otherwise returns false
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- action
- Type: System Action
Action to execute
- lockObject
- Type: System Object
Object to use for locking context to ensure only one load
Return Value
Type: BooleanSee Also