Click or drag to resize
IActivityQueueTryDequeueActivity Method
Tries to remove and return IActivityInfo at the beginning of the concurrent queue.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 10.0.0
Syntax
C#
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