Enum SwitchableJsonRuntimeFailurePolicy
Controls how a failed runtime candidate load affects the currently active source.
Namespace: Eigenverft.NetLib.Infrastructure.Hosting.Configuration.SwitchableJson
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public enum SwitchableJsonRuntimeFailurePolicy
Remarks
V1 intentionally omits a Clear policy. A failed candidate never implicitly becomes active; callers that want an empty configuration can switch to a valid empty JSON document instead.
Fields
| Name | Description |
|---|---|
| KeepLastKnownGood | Keep the current source and its last successfully published configuration snapshot. |
| Throw | Keep the current source and snapshot, publish the lifecycle event, then throw a manual switch load failure. |