Skip to content

IDurableTaskManager.GetTask(TaskId)

GetTask(TaskId)

abstract
View source
public abstract ScheduledTask GetTask(TaskId taskId)
Gets a handle which observes or cancels an existing task of this grain.

Parameters

taskIdTaskId
The task identifier.

Returns

A handle for the task. Polling or waiting for a task which this grain doesn't retain throws DurableTaskNotFoundException.