Click or drag to resize

TemporalClientActivityErrorByTokenAsync Method

Used to externally fail an activity by task token.

Namespace:  Neon.Temporal
Assembly:  Neon.Temporal (in Neon.Temporal.dll) Version: 2.14.0-alpha
Syntax
public Task ActivityErrorByTokenAsync(
	string taskToken,
	Exception error,
	string namespace = null
)

Parameters

taskToken
Type: SystemString
The opaque base-64 encoded activity task token.
error
Type: SystemException
Specifies the activity error.
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