Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Blocks the caller until all retired generations are reclaimed, cancellation is requested, or the barrier faults.

API: engine
Project: Inno.Extensibility.Reload

public void Inno.Extensibility.Reload.AssemblyUnloadBarrier.Wait(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter cancellationToken: A token that can cancel the wait without changing the barrier state.

Exception T:System.OperationCanceledException: Thrown when cancellationToken is canceled before completion.

Exception T:Inno.Extensibility.Reload.AssemblyUnloadException: Thrown when the retention threshold is reached.