Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IDestructionAwareObjectPostProcessor.PostProcessBeforeDestruction Method

Apply this IObjectPostProcessor to the given new object instance before its destruction. Can invoke custom destruction callbacks.

[Visual Basic]
Public Sub PostProcessBeforeDestruction( _
   ByVal instance As Object, _
   ByVal name As String _
)
[C#]
void PostProcessBeforeDestruction(
   object instance,
   string name
);

Parameters

instance
The new object instance.
name
The name of the object.

Exceptions

Exception Type Condition
ObjectsException In case of errors.

See Also

IDestructionAwareObjectPostProcessor Interface | Spring.Objects.Factory.Config Namespace