FailedStateReason Property |
Namespace: Hangfire.States
The reason is usually displayed in the Dashboard UI to simplify the understanding of a background job lifecycle by providing a human-readable text that explains why a background job is moved to the corresponding state. Here are some examples:
Notes to Implementers |
---|
The reason value is usually not hard-coded in a state implementation, allowing users to change it when creating an instance of a state through the public setter. |