Table of Contents

Class TaskExecutionService

Namespace
Dynamicweb.Scheduling
Assembly
Dynamicweb.Core.dll

Service for managing task executions.

public sealed class TaskExecutionService
Inheritance
TaskExecutionService
Inherited Members

Methods

DeleteTaskExecutionsByTaskIds(IEnumerable<int>)

Deletes task executions by their IDs.

public void DeleteTaskExecutionsByTaskIds(IEnumerable<int> taskIds)

Parameters

taskIds IEnumerable<int>

GetTaskExecutionsByTaskIds(IEnumerable<int>, int)

Retrieves task executions by task IDs, limiting the number of executions per task.

public IEnumerable<TaskExecution> GetTaskExecutionsByTaskIds(IEnumerable<int> taskIds, int topNExecutions)

Parameters

taskIds IEnumerable<int>
topNExecutions int

Returns

IEnumerable<TaskExecution>

GetTasksStatisticsByTaskIds(IEnumerable<int>)

Retrieves task statistics for the specified task IDs.

public IEnumerable<TaskStatistics> GetTasksStatisticsByTaskIds(IEnumerable<int> taskIds)

Parameters

taskIds IEnumerable<int>

Returns

IEnumerable<TaskStatistics>

Save(TaskExecution)

Saves a task execution to the repository.

public void Save(TaskExecution taskExecution)

Parameters

taskExecution TaskExecution
To top