ProcessQueueTTryTake(T) Method

Attempts to remove and return an object from the ProcessQueueT.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.158 -- Release Build+5f840a50b8123565ea38e0c1d6c00b5650022b4a
public bool TryTake(
	out T item
)

Parameters

item  T
When this method returns, if the object was removed and returned successfully, item contains the removed object. If no object was available to be removed, the value is unspecified.

Return Value

Boolean
true if an object was removed and returned successfully; otherwise, false.

See Also