DevForce Help Reference
AllowRecursiveInterceptors Property


Allow recursive execution of property interceptors.
Syntax
'Declaration
 
Public Property AllowRecursiveInterceptors As Boolean
'Usage
 
Dim instance As PropertyInterceptorManager
Dim value As Boolean
 
instance.AllowRecursiveInterceptors = value
 
value = instance.AllowRecursiveInterceptors
public bool AllowRecursiveInterceptors {get; set;}
Remarks
Recursion within a property interceptor can occur when the interceptor action invokes another property get or set which triggers execution of the same interceptor.

By default, recursive execution is disabled. When recursion is detected the "base" action for the property is invoked rather than the property interceptor.

For use cases which require recursive execution of an interceptor, set this flag to true. When true, all property interceptors managed by the current instance of the PropertyInterceptorManager will allow recursion. The flag can be enabled or disabled at any time.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PropertyInterceptorManager Class
PropertyInterceptorManager Members

Send Feedback