Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractQueue.Add Method

Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions.

[Visual Basic]
Public Overridable Sub Add( _
   ByVal objectToAdd As Object _
) _
    Implements IQueue.Add
[C#]
public virtual bool Add(
   object objectToAdd
);

Parameters

objectToAdd
The element to add.

Return Value

if successful.

Implements

IQueue.Add

Exceptions

Exception Type Condition
InvalidOperationException If the element cannot be added at this time due to capacity restrictions.

See Also

AbstractQueue Class | Spring.Collections Namespace