Method FailStartRunning
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
FailStartRunning(RunnerStatus, Exception)
Protected. Rolls back the value of the Status property in the case of unsuccessful start of background execution.
protected void FailStartRunning(RunnerStatus FromNewStatus, Exception Exception)
Parameters
FromNewStatus
RunnerStatusExpected value from wich the property to be changed to NotStarted
Exception
ExceptionAn exception occured.
Remarks
The value of the Status property is changed in a thread-safe manner