Synced
AssemblyReloadSession
Section titled “AssemblyReloadSession”
- Controls activation, completion, and rollback of one prepared module generation.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable, Inno.Extensibility.Reload.IGenerationPublication<Inno.Extensibility.Reload.IAssemblyUnloadProbe>
Inherits: object
Project: Inno.Extensibility.Modules
Declaration
Section titled “Declaration”public sealed class Inno.Extensibility.Modules.AssemblyReloadSession : System.IDisposable, Inno.Extensibility.Reload.IGenerationPublication<Inno.Extensibility.Reload.IAssemblyUnloadProbe>Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | AssemblyReloadSession.Activate | Atomically publishes the candidate module and all participant snapshots. |
| Methods | AssemblyReloadSession.Complete | Commits an activated reload and begins cooperative unload of the old generation. |
| Methods | AssemblyReloadSession.Dispose | Rolls back an incomplete session. |
| Methods | AssemblyReloadSession.Rollback | Restores the previous generation and unloads the candidate generation. |
| Properties | AssemblyReloadSession.context | Gets the old and candidate assembly catalogs and participant migration contexts. |
| Properties | AssemblyReloadSession.generations | Gets the owning host’s shared generation gate, including discarded-candidate retirements. |