Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IQueue.Remove Method

Retrieves and removes the head of this queue.

[Visual Basic]
Public Sub Remove()
[C#]
object Remove();

Return Value

The head of this queue

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

IQueue Interface | Spring.Collections Namespace