Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

TypeRegistry<TSnapshot>.OnActivationRolledBack

Section titled “TypeRegistry<TSnapshot>.OnActivationRolledBack”
  • Reverses lifecycle work performed while activating a candidate snapshot.

API: engine
Project: Inno.Extensibility.Types

protected virtual void Inno.Extensibility.Types.TypeRegistry<TSnapshot>.OnActivationRolledBack(TSnapshot? previous, TSnapshot candidate)

Parameter previous: The restored active snapshot, or null when none existed.

Parameter candidate: The rejected candidate snapshot.

Ordinary failures are reported through M:Inno.Extensibility.Types.TypeRegistry`1.OnCleanupFailed(System.String,System.Exception) and aggregated across registries. Unfinished retirement retains dependencies and stops further rollback until the host is restarted.