IScheduledTaskHandle
interface
Namespace: Orleans.Durable.Tasks
Controls and observes one scheduled durable task.
public interface IScheduledTaskHandleProperties
TargetTaskIdGets the identifier under which the task's host stores the task which this handle observes; seeScheduledTask.TaskIdGets the scheduled task identifier.
Methods
AbortAsync(string, CancellationToken)Administratively aborts the task: the host terminalizes it and its attached descendants as failed withDurableTaskAbortedException, without running further task code. The token abandons waiting for acknowledgement.CancelAsync(string?, CancellationToken)Durably requests task cancellation carryingreason. The request is monotonic and idempotent. The token abandons waiting for acknowledgement.CancelAsync(CancellationToken)Durably requests task cancellation without a reason. The request is monotonic and idempotent. The token abandons waiting for acknowledgement.GetFeatureReturns the featureTFeaturethrough which the host describes the task, ornull; seeScheduledTask.PollAsync(PollingOptions, CancellationToken)Observes the current response. CancelingcancellationTokencancels this poll.WaitAsync(CancellationToken)Waits for a terminal response. CancelingcancellationTokencancels this wait.
