Synced
ProcessOwnedDirectory.RegisterCurrentProcess
Section titled “ProcessOwnedDirectory.RegisterCurrentProcess”
- Records a subprocess lifetime while a previously claimed parent directory remains protected.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public static void Inno.Core.IO.ProcessOwnedDirectory.RegisterCurrentProcess(string root, string directory)Parameters
Section titled “Parameters”Parameter root: The producer root containing the existing current claim.
Parameter directory: The claimed directory borrowed by this process.
Exceptions
Section titled “Exceptions”Exception T:System.IO.IOException: The directory is unrecorded, escapes the root, or its ownership cannot be read.
Exception T:System.IO.InvalidDataException: The existing claim is malformed or does not match this directory.
Exception T:System.TimeoutException: An exclusive owner retains retirement rights beyond the registration budget.