Click or drag to resize

TemporalClientActivityCompleteByIdAsync Method

Used to externally complete an activity identified by WorkflowExecution and activity ID.

Namespace:  Neon.Temporal
Assembly:  Neon.Temporal (in Neon.Temporal.dll) Version: 2.10.0-alpha
Syntax
public Task ActivityCompleteByIdAsync(
	WorkflowExecution execution,
	string activityId,
	Object result = null,
	string namespace = null
)

Parameters

execution
Type: Neon.TemporalWorkflowExecution
The workflow execution.
activityId
Type: SystemString
The activity ID.
result (Optional)
Type: SystemObject
Passed as the activity result for activity success.
namespace (Optional)
Type: SystemString
Optionally overrides the default TemporalClient namespace.

Return Value

Type: Task
The tracking Task.
Exceptions
ExceptionCondition
EntityNotExistsExceptionThrown if the activity no longer exists.
See Also