Skip to content

DurableTaskExtensions.Post(DurableTask)

Post(DurableTask)

staticextension
View source
public static ScheduledTask Post(this DurableTask task)
Stages the start of the task in the caller's durable outbox, and returns its handle without waiting.

Parameters

taskDurableTask

Returns

The task's handle, which the caller can await later.

Exceptions

System.InvalidOperationException
The caller has no durable outbox, for example because it's a client.