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
hubNamestringThe name of the task hub.
functionNamestringThe name of the orchestrator function to call.
instanceIdstringThe ID to use for the orchestration instance.
continuedAsNewboolThe orchestration completed with ContinueAsNew as is in the process of restarting.
isReplayboolThe 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
hubNamestringThe name of the task hub.
functionNamestringThe name of the orchestrator function to call.
instanceIdstringThe ID to use for the orchestration instance.
reasonstringAdditional data associated with the tracking event.
isReplayboolThe 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
hubNamestringThe name of the task hub.
functionNamestringThe name of the orchestrator function to call.
instanceIdstringThe ID to use for the orchestration instance.
isReplayboolThe 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
hubNamestringThe name of the task hub.
functionNamestringThe name of the orchestrator function to call.
instanceIdstringThe ID to use for the orchestration instance.
reasonstringAdditional data associated with the tracking event.
Returns
- Task
A task that completes when the lifecycle notification message has been sent.