 | 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.14.0-alpha
Syntaxpublic Task ActivityCompleteByIdAsync(
WorkflowExecution execution,
string activityId,
Object result = null,
string namespace = null
)
Public Function ActivityCompleteByIdAsync (
execution As WorkflowExecution,
activityId As String,
Optional result As Object = Nothing,
Optional namespace As String = Nothing
) As Task
public:
Task^ ActivityCompleteByIdAsync(
WorkflowExecution^ execution,
String^ activityId,
Object^ result = nullptr,
String^ namespace = nullptr
)
member ActivityCompleteByIdAsync :
execution : WorkflowExecution *
activityId : string *
?result : Object *
?namespace : string
(* Defaults:
let _result = defaultArg result null
let _namespace = defaultArg namespace null
*)
-> Task
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:
TaskThe tracking
Task.
Exceptions
See Also