CMSEventArgsDetectRecursion Method |
Prevents the recursion of the handler execution using the given unique key. The handler won't execute again with the given key until the current execution is finished. Returns true, if recursion is detected and the code shouldn't continue. Otherwise returns false.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax public bool DetectRecursion(
string recursionKey
)
Parameters
- recursionKey
- Type: SystemString
Recursion key
Return Value
Type:
BooleanSee Also