Class RedbObjectReferencedException

Assembly: redb.Core.dll

Objects of a trash container are still referenced by live objects - a RedbObject<T>
reference in their Props points at them - so they cannot be physically deleted without breaking
those references.

redb never repairs this on its own: nulling the references would hide the caller's mistake inside
other objects' data. The purge removes everything else of the container, marks the container
failed (the background worker no longer retries it) and names both sides here, so the
references can be removed or re-pointed deliberately. Purging the container again afterwards
finishes it.

public class RedbObjectReferencedException : Exception, ISerializable

Inheritance

Object→Exception→RedbObjectReferencedException

Implements

Properties

ReferencedObjectIds

Objects that live objects still reference (the first pairs found, at most 100).

public IReadOnlyList<long> ReferencedObjectIds { get; }

ReferencingObjectIds

Live objects holding those references.

public IReadOnlyList<long> ReferencingObjectIds { get; }

RemainingCount

Objects still left in the container.

public long RemainingCount { get; }

TrashId

The trash container that could not be purged completely.

public long TrashId { get; }

Constructors