DevForce Help Reference
Cancel Property (IPropertyInterceptorArgs)


Whether or not to cancel any further actions for the PropertyInterceptor.
Syntax
'Declaration
 
Property Cancel As Boolean
'Usage
 
Dim instance As IPropertyInterceptorArgs
Dim value As Boolean
 
instance.Cancel = value
 
value = instance.Cancel
bool Cancel {get; set;}
Remarks
You can cancel both get and set actions. If you set Cancel to true in a PropertyInterceptorAction no further actions will be invoked for that get or set call. In a get, the current Value will be returned from the property getter. In a set, a cancel in a BeforeSet action will cause the backing store not to be updated with the new value, while a cancel in an AfterSet action stops subsequent AfterSet actions from being invoked.
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

IPropertyInterceptorArgs Interface
IPropertyInterceptorArgs Members

Send Feedback