Table of Contents

Enum RetentionWithdrawalOutcome

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

What a withdrawal did, which is three distinguishable outcomes rather than two.

public enum RetentionWithdrawalOutcome

Fields

AlreadyWithdrawn = 1

The declaration was already tombstoned. Nothing changed, and the original withdrawal's recorded facts are untouched.

NotDeclared = 2

No process in this deployment has ever recorded this declaration, so there was nothing to withdraw.

Withdrawn = 0

The declaration was recorded and live; it is now tombstoned.

Remarks

A bool would merge the first two and lose the one an auditor asks about. Withdrawing a declaration that was never recorded is not the same fact as withdrawing one that is already withdrawn, and neither is the same as performing the withdrawal — so the caller, and the audit trail behind it, can tell what happened.