Skip to content
Start free evaluation

PDComm.GemProgramWriteInfo

Struct

Represents the outcome of a local process program change.

public readonly record struct GemProgramWriteInfo

When Durability is GemProgramDurability.Unconfirmed, the change is installed in memory; do not repeat it as if it had been rolled back.

Parameters

NameDescription
DurabilityHow durably the change was installed: GemProgramDurability.Volatile, GemProgramDurability.Synced or GemProgramDurability.Unconfirmed.
PersistenceStatusThe numeric PdcommStatus of the persistence failure when Durability is GemProgramDurability.Unconfirmed; otherwise 0.
AppliedWhether the create, replace or delete was installed in the store.

Members

GemProgramWriteInfo

Constructor

Represents the outcome of a local process program change.

public GemProgramWriteInfo(GemProgramDurability Durability, int PersistenceStatus, bool Applied)

When Durability is GemProgramDurability.Unconfirmed, the change is installed in memory; do not repeat it as if it had been rolled back.

Parameters

NameDescription
DurabilityHow durably the change was installed: GemProgramDurability.Volatile, GemProgramDurability.Synced or GemProgramDurability.Unconfirmed.
PersistenceStatusThe numeric PdcommStatus of the persistence failure when Durability is GemProgramDurability.Unconfirmed; otherwise 0.
AppliedWhether the create, replace or delete was installed in the store.

Applied

Property

Whether the create, replace or delete was installed in the store.

public bool Applied { get; init; }

Durability

Property

How durably the change was installed: GemProgramDurability.Volatile, GemProgramDurability.Synced or GemProgramDurability.Unconfirmed.

public GemProgramDurability Durability { get; init; }

PersistenceStatus

Property

The numeric PdcommStatus of the persistence failure when Durability is GemProgramDurability.Unconfirmed; otherwise 0.

public int PersistenceStatus { get; init; }