Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
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.

API: engine
Project: Inno.Core.Serialization

public bool Inno.Core.Serialization.SerializationCaptureKeyBuilder.TryAddOwner(Inno.Core.Identity.IdentityObject source, ulong? revision)

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.

True when an identity and revision were available; false invalidates the complete key.

Exception T:System.ArgumentNullException: Source is null.

Exception T:System.InvalidOperationException: The callback has retired or is accessed from another thread.