Synced
SerializationCaptureKeyBuilder.TryAddOwner
Section titled “SerializationCaptureKeyBuilder.TryAddOwner”
- Adds an owner revision through its current Core identity; a null revision or detached source invalidates the key.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Serialization
Declaration
Section titled “Declaration”public bool Inno.Core.Serialization.SerializationCaptureKeyBuilder.TryAddOwner(Inno.Core.Identity.IdentityObject source, ulong? revision)Parameters
Section titled “Parameters”Parameter source: The current owner, never retained in the completed key.
Parameter revision: A complete revision for the producer-owned state, or null when reuse cannot be certified.
Returns
Section titled “Returns”True when an identity and revision were available; false invalidates the complete key.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Source is null.
Exception T:System.InvalidOperationException: The callback has retired or is accessed from another thread.