Click or drag to resize
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 mailout time of the variant.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
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 mailout time (mailout time of the last variant)
See Also