Compartilhar via


TaskOrchestrator<TInput,TOutput>.RunAsync Method

Definition

Override to implement task orchestrator logic.

public abstract System.Threading.Tasks.Task<TOutput> RunAsync (Microsoft.DurableTask.TaskOrchestrationContext context, TInput input);
abstract member RunAsync : Microsoft.DurableTask.TaskOrchestrationContext * 'Input -> System.Threading.Tasks.Task<'Output>
Public MustOverride Function RunAsync (context As TaskOrchestrationContext, input As TInput) As Task(Of TOutput)

Parameters

context
TaskOrchestrationContext

The task orchestrator's context.

input
TInput

The deserialized orchestration input.

Returns

Task<TOutput>

The output of the orchestration as a task.

Applies to