Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Registers a publisher root; this never adopts unrecorded artifacts inside that root.

API: engine
Project: Inno.Build.Toolchains

public static void Inno.Build.Toolchains.BuildCacheOwnerCatalog.Register(string engineRoot, string directory, string id, Inno.Build.Toolchains.BuildCacheArtifactRole role, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter engineRoot: The absolute checkout owning the registration.

Parameter directory: The exact publisher root beneath the checkout.

Parameter id: The distribution’s unique owner identity.

Parameter role: The publisher’s actual artifact lifetime.

Parameter cancellationToken: Cancels before registration commits.

Exception T:System.IO.IOException: A registration crosses a link or ownership boundary.

Exception T:System.IO.InvalidDataException: An existing root has a different registration.

Exception T:System.OperationCanceledException: Cancellation precedes commit.