ChatProtectionHelperCheckOperationForFlooding Method |
Checks if specified operation happened too early after the previous call. If it happened too early (earlier than timespan specified in settings),
it is considered as flooding and operation should be stopped.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax public static bool CheckOperationForFlooding(
FloodOperationEnum operation
)
Parameters
- operation
- Type: CMS.ChatFloodOperationEnum
Type of operation
Return Value
Type:
BooleanTrue if everything is ok. False if operation should be stopped.
See Also