Synced
LifetimeScope.Cancel
Section titled “LifetimeScope.Cancel”
- Stops new registrations and invokes cancellation callbacks on the calling thread.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Execution
Declaration
Section titled “Declaration”public void Inno.Core.Execution.LifetimeScope.Cancel()Remarks
Section titled “Remarks”Callbacks must return promptly. Dependent resources remain owned while cancellation callbacks execute, including when another thread attempts disposal. A callback reporting pending work permanently blocks release.
Exceptions
Section titled “Exceptions”Exception T:System.AggregateException: One or more cancellation callbacks fail.