Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an immutable cache budget and automatic retirement time limit.

API: engine
Project: Inno.Build.Toolchains

public Inno.Build.Toolchains.BuildCachePolicy.BuildCachePolicy(long maximumBytes = 68719476736, long minimumFreeBytes = 21474836480, System.TimeSpan? timeBudget = null)

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.

Exception T:System.ArgumentOutOfRangeException: A budget is negative or the time limit is not positive.