Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimplePoolTargetSource.ReleaseTarget Method

Releases the target object (returns it to the pool).

[Visual Basic]
Public Overrides Sub ReleaseTarget( _
   ByVal target As Object _
) _
    Implements ITargetSource.ReleaseTarget
[C#]
public override void ReleaseTarget(
   object target
);

Parameters

target
The target object to release (return to the pool).

Implements

ITargetSource.ReleaseTarget

Exceptions

Exception Type Condition
Exception In the case that the target could not be released.

See Also

SimplePoolTargetSource Class | Spring.Aop.Target Namespace