Skip to main content

HiddenColumnRedactionColumnsChangedException

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

IArchiveLifecycleService.RedactConfirmedHiddenColumnsAsync(OctoObjectId, IReadOnlyCollection<String>) was refused because the columns that reach a Hidden attribute at execution time are not exactly the columns the caller confirmed: another CK model change made a column Hidden or visible since the caller read the archive, or the caller named an unknown column. Nothing was audited or dropped; read the archive again and confirm the current columns.

public sealed class HiddenColumnRedactionColumnsChangedException : StreamDataException, ISerializable

Inheritance Object → Exception → StreamDataException → HiddenColumnRedactionColumnsChangedException
Implements ISerializable

Properties​

ExpectedColumns​

The column paths the caller confirmed, without duplicates.

public IReadOnlyList<string> ExpectedColumns { get; }

Property Value​

IReadOnlyList<String>

CurrentColumns​

The column paths that reach a Hidden attribute at execution time - the ones the call would drop.

public IReadOnlyList<string> CurrentColumns { get; }

Property Value​

IReadOnlyList<String>

ArchiveRtId​

public Nullable<OctoObjectId> ArchiveRtId { get; }

Property Value​

Nullable<OctoObjectId>

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

HiddenColumnRedactionColumnsChangedException(OctoObjectId, IReadOnlyList<String>, IReadOnlyList<String>)​

public HiddenColumnRedactionColumnsChangedException(OctoObjectId archiveRtId, IReadOnlyList<string> expectedColumns, IReadOnlyList<string> currentColumns)

Parameters​

archiveRtId OctoObjectId

expectedColumns IReadOnlyList<String>

currentColumns IReadOnlyList<String>