Interface IEmailStatisticsCalculator
- Namespace
- CMS.EmailLibrary
- Assembly
- CMS.EmailMarketing.dll
Recalculates email statistics.
public interface IEmailStatisticsCalculator
- Extension Methods
Methods
Recalculate(int, CancellationToken)
Recalculates statistics for the specific email configuration id.
Task Recalculate(int emailConfigurationID, CancellationToken cancellationToken)
Parameters
emailConfigurationID
intcancellationToken
CancellationToken
Returns
- Task
Exceptions
- WarningException
Thrown when there is an obstacle during statistics recalculation, which may cause the statistics to be incomplete.
RecalculateAll(CancellationToken)
Recalculates statistics for all email configurations.
Task RecalculateAll(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
- Task