C# 클래스 NServiceBus.ScheduleExtensions

Extends the context with scheduling capabilities.
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
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