WaitUntilAsync(DurableTask, DateTimeOffset)
staticextension
public static DurableTask WaitUntilAsync(this DurableTask task, DateTimeOffset dueTime) Creates a durable task which runs
task and requests its durable cancellation once dueTime passes. Parameters
taskDurableTask- The task to run.
dueTimeDateTimeOffset- The time, measured using host logical time, at which to request cancellation. A time which has passed times out promptly.
Returns
A combinator which, awaited within a durable execution, runs as part of that execution and completes once
task is terminal. Exceptions
System.ArgumentNullExceptiontaskisnull.
