Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IPoolableObjectFactory.DestroyObject Method

Destroys an instance no longer needed by the pool.

[Visual Basic]
Public Sub DestroyObject( _
   ByVal obj As Object _
void DestroyObject(
   object obj


The instance to be destroyed.


Invoked on every instance when it is being "dropped" from the pool (whether due to the return value from a call to the ValidateObject method, or for reasons specific to the pool implementation.)

See Also

IPoolableObjectFactory Interface | Spring.Pool Namespace