Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.ReplaceIntroduction Method

Replaces the IIntroductionAdvisor that exists at the supplied index in the list of Introductions with the supplied introduction.

[Visual Basic]
Public Sub ReplaceIntroduction( _
   ByVal index As Integer, _
   ByVal introduction As IIntroductionAdvisor _
)
[C#]
void ReplaceIntroduction(
   int index,
   IIntroductionAdvisor introduction
);

Parameters

index
The index of the IIntroductionAdvisor in the list of Introductions that is to be replaced.
introduction
The new (replacement) IIntroductionAdvisor.

Exceptions

Exception Type Condition
AopConfigException If the supplied index is out of range.

See Also

IAdvised Interface | Spring.Aop.Framework Namespace