Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AopContext.IsActive Property

Indicates if the current call is executed under control of an AOP proxy.

[Visual Basic]
Public Shared ReadOnly Property IsActive() As Boolean
   Public Get
   End Get
End Property
public static bool IsActive { public get; }


Will be unless the ExposeProxy property on the controlling proxy has been set to true.

The default value for the ExposeProxy property is false, for performance reasons.

See Also

AopContext Class | Spring.Aop.Framework Namespace