Skip to content

ScheduledTask.GetResponseAsync(PollingOptions, CancellationToken)

GetResponseAsync(PollingOptions, CancellationToken)

View source
public Task<DurableTaskResponse> GetResponseAsync(PollingOptions options, CancellationToken cancellationToken = default(CancellationToken))
Polls and returns the current response.

Parameters

optionsPollingOptions
cancellationTokenCancellationToken

Exceptions

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