Synced
ProductNativePreparation.FreezeAsync
Section titled “ProductNativePreparation.FreezeAsync”
- Identifies the explicitly selected recipe, SDK, configuration and component request before preparation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static System.Threading.Tasks.Task<string> Inno.Build.Toolchains.ProductNativePreparation.FreezeAsync(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.ProductNativeBuildPlan plan, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter context: The operation with its selected toolchain and binding generator.
Parameter plan: The complete product closure; recipe declarations remain ordered.
Parameter cancellationToken: Cancels source, generator and SDK input capture before preparation starts.
Returns
Section titled “Returns”A content identity for the frozen request. Consumers still verify freshness after acquiring reading protection.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The toolchain or recipe ownership is incomplete.