NewsletterTasksManagerEnsureWinnerSelectionTask Method |
Ensures that the winner selection task is created or updated (or deleted) according to A/B test info.
Start time of winner selection task is calculated according to A/B test setting and highest mail-out time of the variant.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax public static void EnsureWinnerSelectionTask(
ABTestInfo abi,
IssueInfo parentIssue,
bool enableTask,
DateTime highestMailoutTime
)
Parameters
- abi
- Type: CMS.NewslettersABTestInfo
A/B test info - parentIssue
- Type: CMS.NewslettersIssueInfo
Parent issue (optional) - enableTask
- Type: SystemBoolean
Enable scheduled task - highestMailoutTime
- Type: SystemDateTime
Highest mail-out time (mail-out time of the last variant)
See Also