Skip to content

ConfiguredDurableTask<TResult>.ScheduleAsync(CancellationToken)

ScheduleAsync(CancellationToken)

View source
public Task<ScheduledTask<TResult>> ScheduleAsync(CancellationToken cancellationToken = default(CancellationToken))
Starts the task and returns its handle once the task's host has accepted and durably stored the task.

Parameters

cancellationTokenCancellationToken
A token which abandons the start. It doesn't cancel the task.

Returns

The task's handle, whose ScheduledTask addresses the task.