Synced
AssemblyUnloadException.Constructor
Section titled “AssemblyUnloadException.Constructor”
- Creates a terminal unload failure with stable generation diagnostics.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Reload
Declaration
Section titled “Declaration”public Inno.Extensibility.Reload.AssemblyUnloadException.AssemblyUnloadException(System.Collections.Generic.IReadOnlyList<string> retainedGenerations, System.TimeSpan elapsed, int collectionAttempts)Parameters
Section titled “Parameters”Parameter retainedGenerations: Descriptions of every retired generation that remains reachable.
Parameter elapsed: The elapsed barrier duration.
Parameter collectionAttempts: The number of full collection cycles already performed.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when retainedGenerations is null.
Exception T:System.ArgumentException: Thrown when no retained generation is supplied.