Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Generates or verifies the requested closure under publication ownership.

API: engine
Project: Inno.Build.Bindings

public System.Threading.Tasks.ValueTask<Inno.Build.Toolchains.NativeBindingGenerationResult> Inno.Build.Bindings.NativeBindingGenerator.GenerateAsync(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.NativeBindingGenerationRequest request, System.Threading.CancellationToken cancellationToken)

Parameter context: The borrowed operation owning frozen inputs, tool selection and statistics. Configuration path variables must resolve from its selected toolchain without changing process state.

Parameter request: The immutable target, component closure and publication policy.

Parameter cancellationToken: Cancels preparation; active work must drain before returning.

An owned complete immutable map indexed by Native owner project, never a partial closure. Dispose the result only after all generated-source and native-bridge consumers finish.

Exception T:System.InvalidOperationException: Inputs change during preparation, a required frozen SDK value is absent, or required generator capabilities are unavailable.

Exception T:System.IO.InvalidDataException: A definition or generated output fails its declared contract.

Exception T:System.OperationCanceledException: The request was canceled and its active work has completed cleanup.