Interface ILifeCycleNotificationHelper
- Namespace
- Microsoft.Azure.WebJobs.Extensions.DurableTask
- Assembly
- Microsoft.Azure.WebJobs.Extensions.DurableTask.dll
Interface defining methods to life cycle notifications.
public interface ILifeCycleNotificationHelper
Methods
OrchestratorCompletedAsync(string, string, string, bool, bool)
The orchestrator was completed.
Task OrchestratorCompletedAsync(string hubName, string functionName, string instanceId, bool continuedAsNew, bool isReplay)
Parameters
hubName
stringThe name of the task hub.
functionName
stringThe name of the orchestrator function to call.
instanceId
stringThe ID to use for the orchestration instance.
continuedAsNew
boolThe orchestration completed with ContinueAsNew as is in the process of restarting.
isReplay
boolThe orchestrator function is currently replaying itself.
Returns
- Task
A task that completes when the lifecycle notification message has been sent.
OrchestratorFailedAsync(string, string, string, string, bool)
The orchestrator was failed.
Task OrchestratorFailedAsync(string hubName, string functionName, string instanceId, string reason, bool isReplay)
Parameters
hubName
stringThe name of the task hub.
functionName
stringThe name of the orchestrator function to call.
instanceId
stringThe ID to use for the orchestration instance.
reason
stringAdditional data associated with the tracking event.
isReplay
boolThe orchestrator function is currently replaying itself.
Returns
- Task
A task that completes when the lifecycle notification message has been sent.
OrchestratorStartingAsync(string, string, string, bool)
The orchestrator was starting.
Task OrchestratorStartingAsync(string hubName, string functionName, string instanceId, bool isReplay)
Parameters
hubName
stringThe name of the task hub.
functionName
stringThe name of the orchestrator function to call.
instanceId
stringThe ID to use for the orchestration instance.
isReplay
boolThe orchestrator function is currently replaying itself.
Returns
- Task
A task that completes when the lifecycle notification message has been sent.
OrchestratorTerminatedAsync(string, string, string, string)
The orchestrator was terminated.
Task OrchestratorTerminatedAsync(string hubName, string functionName, string instanceId, string reason)
Parameters
hubName
stringThe name of the task hub.
functionName
stringThe name of the orchestrator function to call.
instanceId
stringThe ID to use for the orchestration instance.
reason
stringAdditional data associated with the tracking event.
Returns
- Task
A task that completes when the lifecycle notification message has been sent.