ProcessQueueTTryTake(T) Method
Attempts to remove and return all objects from the
ProcessQueueT.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.158 -- Release Build+5f840a50b8123565ea38e0c1d6c00b5650022b4a
public bool TryTake(
out T[] items
)
Public Function TryTake (
<OutAttribute> ByRef items As T()
) As Boolean
public:
bool TryTake(
[OutAttribute] array<T>^% items
)
- items T
- When this method returns, if any objects were removed and returned successfully, item array contains the removed objects. If no object was available to be removed, the value is null.
Booleantrue if any objects were removed and returned successfully; otherwise,
false.