Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.DestroyObject Method

Destroy the target object.

[Visual Basic]
Protected Overrides Sub DestroyObject( _
   ByVal name As String, _
   ByVal target As Object _
)
[C#]
protected override void DestroyObject(
   string name,
   object target
);

Parameters

name
The name of the object.
target
The target object instance to destroyed.

Remarks

Must destroy objects that depend on the given object before the object itself. Should not throw any exceptions.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace