Table of Contents

Class ScheduledTask

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll
public sealed class ScheduledTask : IDisposable
Inheritance
ScheduledTask
Implements
Inherited Members
Extension Methods

Fields

Repeating

Gets if this is a repeating scheduled task.

Schedule

Gets the interval for repeating this task if Repeating is set to true.

Properties

ExecutionCount

Gets the number of times this task has successfully executed.

ExecutionTime

Gets the TimeSinceStartup that this task was last executed/will next be executed at.

FailedExecutionCount

Gets the number of times this task has failed to execute because of an exception.

IsCancelled

Gets if this task has been cancelled for execution.

Methods

Cancel()

Cancels the execution of this task.

Dispose()

Cancels the execution of this task.