Compartilhar via


TaskOrchestrator<TInput,TOutput>.ITaskOrchestrator.RunAsync Method

Definition

Invokes the task orchestrator with the specified context and input.

System.Threading.Tasks.Task<object?> ITaskOrchestrator.RunAsync (Microsoft.DurableTask.TaskOrchestrationContext context, object? input);
abstract member Microsoft.DurableTask.ITaskOrchestrator.RunAsync : Microsoft.DurableTask.TaskOrchestrationContext * obj -> System.Threading.Tasks.Task<obj>
override this.Microsoft.DurableTask.ITaskOrchestrator.RunAsync : Microsoft.DurableTask.TaskOrchestrationContext * obj -> System.Threading.Tasks.Task<obj>
Function RunAsync (context As TaskOrchestrationContext, input As Object) As Task(Of Object) Implements ITaskOrchestrator.RunAsync

Parameters

context
TaskOrchestrationContext

The task orchestrator's context.

input
Object

The task orchestrator's input.

Returns

Returns the orchestrator output as the result of a Task.

Implements

Applies to