IActivityQueueTryDequeueActivity Method |
Tries to remove and return
IActivityInfo at the beginning of the concurrent queue.
Namespace: CMS.ActivitiesAssembly: CMS.Activities (in CMS.Activities.dll) Version: 11.0.0
Syntax bool TryDequeueActivity(
out IActivityInfo activity
)
Parameters
- activity
- Type: CMS.ActivitiesIActivityInfo
When this method returns, if the operation was successful, activity contains the object removed. If no object was available to be removed, the activity is unspecified.
Return Value
Type:
Boolean
True if
IActivityInfo was removed and returned from the beginning of the
ActivityMemoryQueue successfully; otherwise, false.
See Also