Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectPool.ReturnObject Method

Return an instance to the pool.

[Visual Basic]
Public Sub ReturnObject( _
   ByVal target As Object _
)
[C#]
void ReturnObject(
   object target
);

Parameters

target
The instance to be returned to the pool.

Remarks

By contract, the object must have been obtained using BorrowObject or a related method as defined in an implementation or sub-interface.

See Also

IObjectPool Interface | Spring.Pool Namespace | PassivateObject