Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.AddInterface Method

Adds a new interface to the list of interfaces that are proxied by this proxy.

[Visual Basic]
Public Overridable Sub AddInterface( _
   ByVal intf As Type _
)
[C#]
public virtual void AddInterface(
   Type intf
);

Parameters

intf
The interface to be proxied by this proxy.

Exceptions

Exception Type Condition
AopConfigException If this proxy configuration is frozen (IsFrozen);
ArgumentNullException If the supplied intf is a null reference (Nothing in Visual Basic).

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace