Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Acquires a new consumer’s complete reading protection and verifies mutable inputs after acquisition.

API: engine
Project: Inno.Build.Toolchains

public static System.Threading.Tasks.Task<Inno.Build.Toolchains.ProductNativeBuildResult?> Inno.Build.Toolchains.ProductNativePreparation.TryAcquireAsync(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.ProductNativeBuildPlan plan, string[][] rows, string requestIdentity, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter context: The consumer operation with its own selected SDK and statistics.

Parameter plan: The consumer’s current complete product declaration.

Parameter rows: Neutral data captured by a successful preparation in the same root build.

Parameter requestIdentity: The captured request identity, recomputed from current source, generator, SDK and recipe inputs after acquiring protection.

Parameter cancellationToken: Cancels acquisition or hashing; partial reading protection is always released.

An independently owned result, or null when inputs, membership or immutable publications no longer match. Null requires normal preparation; it is never evidence that a native build passed.

Exception T:System.OperationCanceledException: The consumer cancels before completing its reading protection.