Compartilhar via


ITaskOrchestrator.RunAsync(TaskOrchestrationContext, Object) Method

Definition

Invokes the task orchestrator with the specified context and input.

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

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.

Applies to