Thetype exposes the following members.
Gets the exception that occurred during the background job processing.
Gets a date/time when the current state instance was created.
Gets whether transition to this state should ignore job de-serialization exceptions.
Gets if the current state is a final one.
Gets the unique name of the state.
Gets the human-readable reason of a state transition.
Failed state is used in Hangfire when something went wrong and an exception occurred during the background job processing. The primary reason for this state is to notify the developers that something went wrong. By default background job is moved to the Failed state only after some automatic retries, because the AutomaticRetryAttribute filter is enabled by default.
|Failed jobs are not expiring and will stay in your current job storage forever, increasing its size until you retry or delete them manually. If you expect some exceptions, please use the following rules.|
It is not supposed to use theclass in a user code unless you are writing state changing filters or new background processing rules.