Skip to content

IDurableQueue<T>.TryDequeue(T)

TryDequeue(T)

abstract
public abstract bool TryDequeue(out T item)
Attempts to remove and return the element at the beginning of the queue.

Parameters

itemT
The removed element, or the default value of T when the queue is empty.

Returns

true if an element was removed; otherwise, false.