ITaskActivity.RunAsync(TaskActivityContext, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the task activity with the specified context and input.
public System.Threading.Tasks.Task<object?> RunAsync (Microsoft.DurableTask.TaskActivityContext context, object? input);
abstract member RunAsync : Microsoft.DurableTask.TaskActivityContext * obj -> System.Threading.Tasks.Task<obj>
Public Function RunAsync (context As TaskActivityContext, input As Object) As Task(Of Object)
Parameters
- context
- TaskActivityContext
The task activity's context.
- input
- Object
The task activity's input.
Returns
Returns the activity output as the result of a Task.