Click or drag to resize

CadenceClientActivityErrorByIdAsync Method

Used to externally fail an activity by WorkflowExecution and activity ID.

Namespace:  Neon.Cadence
Assembly:  Neon.Cadence (in Neon.Cadence.dll) Version: 2.14.0
Syntax
public Task ActivityErrorByIdAsync(
	WorkflowExecution execution,
	string activityId,
	Exception error,
	string domain = null
)

Parameters

execution
Type: Neon.CadenceWorkflowExecution
The workflowm execution.
activityId
Type: SystemString
The activity ID.
error
Type: SystemException
Specifies the activity error.
domain (Optional)
Type: SystemString
Optionally overrides the default CadenceClient domain.

Return Value

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