Synced
LifetimeScope.Track
Section titled “LifetimeScope.Track”
- Tracks work that must complete before this lifetime’s resources can be released.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Execution
Declaration
Section titled “Declaration”public void Inno.Core.Execution.LifetimeScope.Track(System.Threading.Tasks.Task task)Parameters
Section titled “Parameters”Parameter task: Work that observes this lifetime’s cancellation token.
Exceptions
Section titled “Exceptions”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.