Class TimeTriggerTask
- Namespace
 - CMS.ContactManagement
 
- Assembly
 - CMS.ContactManagement.dll
 
Runs time based triggers in the Marketing automation process.
[Obsolete("Class was not intended for public use and will be removed in the next version.")]
public sealed class TimeTriggerTask : IScheduledTask
  - Inheritance
 - 
      objectTimeTriggerTask
 
- Implements
 
- Extension Methods
 
Constructors
TimeTriggerTask()
Initializes a new instance of the TimeTriggerTask class.
public TimeTriggerTask()
  Fields
IDENTIFIER
Represents the TimeTriggerTask identifier.
public const string IDENTIFIER = "Kentico.ScheduledTask.TimeTriggerTask"
  Field Value
- string
 
Methods
Execute(ScheduledTaskConfigurationInfo)
Executes the time based automation trigger.
public ScheduledTaskExecutionResult Execute(ScheduledTaskConfigurationInfo task)
  Parameters
Returns
Execute(ScheduledTaskConfigurationInfo, CancellationToken)
Executes the time based automation trigger.
public Task<ScheduledTaskExecutionResult> Execute(ScheduledTaskConfigurationInfo task, CancellationToken cancellationToken)
  Parameters
taskScheduledTaskConfigurationInfocancellationTokenCancellationToken