Synced
TypeRegistry<TSnapshot>.OnActivationRolledBack
Section titled “TypeRegistry<TSnapshot>.OnActivationRolledBack”
- Reverses lifecycle work performed while activating a candidate snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”protected virtual void Inno.Extensibility.Types.TypeRegistry<TSnapshot>.OnActivationRolledBack(TSnapshot? previous, TSnapshot candidate)Parameters
Section titled “Parameters”Parameter previous: The restored active snapshot, or null when none existed.
Parameter candidate: The rejected candidate snapshot.
Remarks
Section titled “Remarks”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.