Synced
BuildCacheOwnerCatalog.Register
Section titled “BuildCacheOwnerCatalog.Register”
- Registers a publisher root; this never adopts unrecorded artifacts inside that root.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”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))Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”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.