Skip to content

ScheduledTask.IsCompletedAsync(PollingOptions, CancellationToken)

IsCompletedAsync(PollingOptions, CancellationToken)

View source
public Task<bool> IsCompletedAsync(PollingOptions options = default(PollingOptions), CancellationToken cancellationToken = default(CancellationToken))
Polls whether the task has reached a terminal state.

Parameters

optionsPollingOptions
cancellationTokenCancellationToken

Exceptions

System.NotSupportedException
The calling code runs in a durable task.