C# Class NServiceBus.ScheduleExtensions

Extends the context with scheduling capabilities.
Afficher le fichier Open project: Particular/NServiceBus

Méthodes publiques

Méthode Description
ScheduleEvery ( this session, System.TimeSpan timeSpan, Task>.Func task ) : Task

Schedules a task to be executed repeatedly in a given interval.

ScheduleEvery ( this session, System.TimeSpan timeSpan, string name, Task>.Func task ) : Task

Schedules a task to be executed repeatedly in a given interval.

Private Methods

Méthode Description
Schedule ( IMessageSession session, TaskDefinition taskDefinition ) : Task
ScheduleEvery ( this session, System.TimeSpan timeSpan, System.Action task ) : void
ScheduleEvery ( this session, System.TimeSpan timeSpan, string name, System.Action task ) : void

Method Details

ScheduleEvery() public static méthode

Schedules a task to be executed repeatedly in a given interval.
public static ScheduleEvery ( this session, System.TimeSpan timeSpan, Task>.Func task ) : Task
session this The session which allows you to perform message operation.
timeSpan System.TimeSpan The interval to repeatedly execute the .
task Task>.Func The async function to execute.
Résultat Task

ScheduleEvery() public static méthode

Schedules a task to be executed repeatedly in a given interval.
public static ScheduleEvery ( this session, System.TimeSpan timeSpan, string name, Task>.Func task ) : Task
session this The session which allows you to perform message operation.
timeSpan System.TimeSpan The interval to repeatedly execute the .
name string The name to used for logging the task being executed.
task Task>.Func The async function to execute.
Résultat Task