TaskActivity<TInput,TOutput>.ITaskActivity.RunAsync 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.
System.Threading.Tasks.Task<object?> ITaskActivity.RunAsync (Microsoft.DurableTask.TaskActivityContext context, object? input);
abstract member Microsoft.DurableTask.ITaskActivity.RunAsync : Microsoft.DurableTask.TaskActivityContext * obj -> System.Threading.Tasks.Task<obj>
override this.Microsoft.DurableTask.ITaskActivity.RunAsync : Microsoft.DurableTask.TaskActivityContext * obj -> System.Threading.Tasks.Task<obj>
Function RunAsync (context As TaskActivityContext, input As Object) As Task(Of Object) Implements ITaskActivity.RunAsync
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.