Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Tracks work that must complete before this lifetime’s resources can be released.

API: engine
Project: Inno.Core.Execution

public void Inno.Core.Execution.LifetimeScope.Track(System.Threading.Tasks.Task task)

Parameter task: Work that observes this lifetime’s cancellation token.

Exception T:System.ArgumentNullException: The task is null.

Exception T:System.InvalidOperationException: Retirement has started or work capacity is exhausted; ownership remains with the caller.