TaskActivity<TInput,TOutput>.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.
Override to implement async (non-blocking) task activity logic.
public abstract System.Threading.Tasks.Task<TOutput> RunAsync (Microsoft.DurableTask.TaskActivityContext context, TInput input);
abstract member RunAsync : Microsoft.DurableTask.TaskActivityContext * 'Input -> System.Threading.Tasks.Task<'Output>
Public MustOverride Function RunAsync (context As TaskActivityContext, input As TInput) As Task(Of TOutput)
Parameters
- context
- TaskActivityContext
Provides access to additional context for the current activity execution.
- input
- TInput
The deserialized activity input.
Returns
Task<TOutput>
The output of the activity as a task.