Click or drag to resize
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.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public bool DetectRecursion(
	string recursionKey
)

Parameters

recursionKey
Type: SystemString
Recursion key

Return Value

Type: Boolean
See Also