C# Класс NServiceBus.ScheduleExtensions

Extends the context with scheduling capabilities.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ScheduleEvery() публичный статический Метод

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.
Результат Task

ScheduleEvery() публичный статический Метод

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.
Результат Task