KestrunTaskService.Remove method

Removes a finished task from the registry.

public bool Remove(string id)
parameter description
id The task identifier.

Return Value

True if the task was found and removed; false if not found or not finished.

Remarks

A task can only be removed if it is in a terminal state (Completed, Failed, Stopped) and all its child tasks are also in terminal states.

See Also