Enum RunningModuleExceptionPolicy
- Namespace
- Prefrontal
- Assembly
- Prefrontal.Core.dll
Defines what happens when an exception occurs in a module's RunAsync() method.
public enum RunningModuleExceptionPolicy
- Extension Methods
Fields
LogAndRemoveModule = 1
Logs the exception and removes the module that threw the exception.
All other modules will continue running.LogAndRerunAll = 3
Logs the exception, stops all modules and reruns them all.
LogAndRerunModule = 2
Logs the exception and reruns the module that threw the exception.
All other modules will continue running.LogAndStopAll = 4
Logs the exception and stops running the other modules.
This means the agent will stop running after the first exception.LogAndStopModule = 0
Default behavior.
Logs the exception and stops running the module that threw the exception.
All other modules will continue running.RethrowAndStopAll = 5
Rethrows the exception and stops running the other modules.
This means the agent will stop running after the first exception.