Méthode | Description | |
---|---|---|
Clone ( ) : Trigger | ||
CreateDailyTrigger ( System.DateTime startTimeUtc ) : |
Creates a trigger that fires every 24 hours beginning at the specified start time. This method does not take into account local time variations such as Daylight Saving Time. Use a more sophisticated calendar-based trigger for that purpose. |
|
CreateOneShotTrigger ( System.DateTime fireTimeUtc ) : |
Creates a trigger that fires exactly once at the specified time.
|
|
PeriodicTrigger ( System.DateTime startTimeUtc, System.DateTime endTimeUtc, System.TimeSpan period, int jobExecutionCount ) : System.Collections.Generic |
Creates a periodic trigger.
|
|
Schedule ( TriggerScheduleCondition condition, System.DateTime timeBasisUtc, JobExecutionDetails lastJobExecutionDetails ) : TriggerScheduleAction |
Méthode | Description | |
---|---|---|
ScheduleSuggestedAction ( TriggerScheduleAction action, System.DateTime timeBasisUtc ) : TriggerScheduleAction |
public static CreateDailyTrigger ( System.DateTime startTimeUtc ) : |
||
startTimeUtc | System.DateTime | The UTC date and time when the trigger will first fire |
Résultat |
public static CreateOneShotTrigger ( System.DateTime fireTimeUtc ) : |
||
fireTimeUtc | System.DateTime | The UTC time at which the trigger should fire |
Résultat |
public PeriodicTrigger ( System.DateTime startTimeUtc, System.DateTime endTimeUtc, System.TimeSpan period, int jobExecutionCount ) : System.Collections.Generic | ||
startTimeUtc | System.DateTime | The UTC date and time when the trigger will first fire |
endTimeUtc | System.DateTime | The UTC date and time when the trigger must stop firing. /// If the time is set to null, the trigger may continue firing indefinitely. |
period | System.TimeSpan | The recurrence period of the trigger. /// If the period is set to null, the trigger will fire exactly once /// and never recur. |
jobExecutionCount | int | The number of job executions remaining before the trigger /// stops firing. This number is decremented each time the job executes /// until it reaches zero. If the count is set to null, the number of times the job /// may execute is unlimited. |
Résultat | System.Collections.Generic |
public Schedule ( TriggerScheduleCondition condition, System.DateTime timeBasisUtc, JobExecutionDetails lastJobExecutionDetails ) : TriggerScheduleAction | ||
condition | TriggerScheduleCondition | |
timeBasisUtc | System.DateTime | |
lastJobExecutionDetails | JobExecutionDetails | |
Résultat | TriggerScheduleAction |