Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractQueue.Remove Method

Retrieves and removes the head of this queue.

[Visual Basic]
Public Overridable Sub Remove() _
    Implements IQueue.Remove
[C#]
public virtual object Remove();

Return Value

The head of this queue

Implements

IQueue.Remove

Remarks

This method differs from Poll only in that it throws an exception if this queue is empty.

Exceptions

Exception Type Condition
NoElementsException If this queue is empty.

See Also

AbstractQueue Class | Spring.Collections Namespace