Skip to content

ScheduledTaskAwaiter Methods

Provides an awaiter for a scheduled durable task without a result.

OnCompleted(Action)

View source
public void OnCompleted(Action continuation)
Schedules the continuation action that's invoked when the instance completes.

Parameters

continuationAction
The action to invoke when the operation completes.

Exceptions

System.ArgumentNullException
The continuation argument is null (Nothing in Visual Basic).

UnsafeOnCompleted(Action)

View source
public void UnsafeOnCompleted(Action continuation)
Schedules the continuation action that's invoked when the instance completes.

Parameters

continuationAction
The action to invoke when the operation completes.

Exceptions

System.ArgumentNullException
The continuation argument is null (Nothing in Visual Basic).