Synced
AssemblyUnloadBarrier.Wait
Section titled “AssemblyUnloadBarrier.Wait”
- Blocks the caller until all retired generations are reclaimed, cancellation is requested, or the barrier faults.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Reload
Declaration
Section titled “Declaration”public void Inno.Extensibility.Reload.AssemblyUnloadBarrier.Wait(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter cancellationToken: A token that can cancel the wait without changing the barrier state.
Exceptions
Section titled “Exceptions”Exception T:System.OperationCanceledException: Thrown when cancellationToken is canceled before completion.
Exception T:Inno.Extensibility.Reload.AssemblyUnloadException: Thrown when the retention threshold is reached.