| ABTestManagerPromoteVariant Method |
Promotes a variant identified by variantGuid as the winner variant.
Winning variant is stored in the database within the A/B test.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown when page is null. |
| ArgumentException | Thrown when there is no unconcluded A/B test or variantGuid does not identify an existing variant within page. |
| InvalidOperationException | Thrown when the A/B test for the current page has not finished yet. |
See Also