ProcessQueueTTryTake(T) Method

Attempts to remove and return all objects from the ProcessQueueT.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.169 -- Release Build+7697c0e717c25635c63b5dbfba5523a6bec4ec9b
public bool TryTake(
	out T[] items
)

Parameters

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.

Return Value

Boolean
true if any objects were removed and returned successfully; otherwise, false.

See Also