Synced
AssemblyUnloadBarrier.Constructor
Section titled “AssemblyUnloadBarrier.Constructor”
- Creates a barrier over a complete retirement set.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Reload
Declaration
Section titled “Declaration”public Inno.Extensibility.Reload.AssemblyUnloadBarrier.AssemblyUnloadBarrier(System.Collections.Generic.IEnumerable<Inno.Extensibility.Reload.IAssemblyUnloadProbe> probes, Inno.Extensibility.Reload.AssemblyUnloadBarrierOptions? options = null)Parameters
Section titled “Parameters”Parameter probes: Weak unload probes for every retired collectible generation in the transaction.
Parameter options: Optional collection cadence and retention threshold.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when probes or one of its values is null.
Exception T:System.ArgumentOutOfRangeException: Thrown when an option duration is negative or the retention threshold is zero.