Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Stops new registrations and invokes cancellation callbacks on the calling thread.

API: engine
Project: Inno.Core.Execution

public void Inno.Core.Execution.LifetimeScope.Cancel()

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.

Exception T:System.AggregateException: One or more cancellation callbacks fail.