Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Imports complete payload candidates without adopting them; each consumer’s publisher must still verify its requested inputs.

API: engine
Project: Inno.Build.Toolchains

public static System.Threading.Tasks.Task<int> Inno.Build.Toolchains.NativeArtifactTransfer.ImportAsync(string engineRoot, string archivePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter engineRoot: The consumer checkout whose existing native publishers own the destination layout.

Parameter archivePath: The restored transport archive, which remains available for diagnosis after rejection.

Parameter cancellationToken: Cancels extraction or acquisition without replacing any existing generation.

The number of newly imported candidates; existing destinations remain under their publisher’s repair policy.

Exception T:System.IO.IOException: The archive is malformed, contains invalid ownership paths or fails complete payload validation.

Exception T:System.OperationCanceledException: Import was canceled before further candidates could be installed.