Synced
BuildCachePolicy.Constructor
Section titled “BuildCachePolicy.Constructor”
- Creates an immutable cache budget and automatic retirement time limit.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public Inno.Build.Toolchains.BuildCachePolicy.BuildCachePolicy(long maximumBytes = 68719476736, long minimumFreeBytes = 21474836480, System.TimeSpan? timeBudget = null)Parameters
Section titled “Parameters”Parameter maximumBytes: The managed cache budget; defaults to 64 GiB.
Parameter minimumFreeBytes: The free-space threshold on the checkout volume; defaults to 20 GiB.
Parameter timeBudget: The retirement duration, or null for the five-second default.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: A budget is negative or the time limit is not positive.