KestrunTaskService.Dispose method

Cancels active tasks, waits briefly for runners to quiesce, disposes quiesced cancellation sources, clears the task registry, and releases the task runspace pool.

public void Dispose()

See Also