Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Owns shared reading or exclusive writing rights coordinated by independent processes.

API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Core.IO

public sealed class Inno.Core.IO.FileLease : System.IDisposable
Kind Element Description
Methods FileLease.AcquireAsync Waits for exclusive ownership without blocking an owner thread or changing shared data.
Methods FileLease.AcquireSharedAsync Pins an existing generation against exclusive retirement while permitting other readers.
Methods FileLease.Dispose Releases ownership; repeated disposal has no effect and the lease file is retained.