Replaces the oldAdvisor with the newAdvisor.
true if the oldAdvisor was replaced; if the oldAdvisor was not found in the advisors collection, this method returns false and (effectively) does nothing.
| Exception Type | Condition |
|---|---|
| AopConfigException | If this proxy configuration is frozen and the oldAdvisor cannot be replaced. |
IAdvised Interface | Spring.Aop.Framework Namespace | IsFrozen