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: 9.0.0
Syntaxpublic bool DetectRecursion(
string recursionKey
)
Parameters
- recursionKey
- Type: SystemString
Recursion key
Return Value
Type:
Boolean
See Also