Eigenverft.NetLib.Infrastructure
  • Guides
  • API
Show / Hide Table of Contents
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.ConfigurationSets
    • ConfigurationSetApplyMode
    • ConfigurationSetBuilderBindingExtensions
    • ConfigurationSetCoordinatorExtensions
    • ConfigurationSetDefinition
    • ConfigurationSetEventArgs
    • ConfigurationSetEventKind
    • ConfigurationSetNotification
    • ConfigurationSetParticipantSwitchResult
    • ConfigurationSetPendingRestartChange
    • ConfigurationSetRegistration
    • ConfigurationSetStateApplyResult
    • ConfigurationSetStateApplyStatus
    • ConfigurationSetStateFailureKind
    • ConfigurationSetStateStatus
    • ConfigurationSetStateStoreEventArgs
    • ConfigurationSetStateStoreEventKind
    • ConfigurationSetStateStoreExtensions
    • ConfigurationSetStateStoreStatus
    • ConfigurationSetStatus
    • ConfigurationSetSwitchFailureKind
    • ConfigurationSetSwitchResult
    • ConfigurationSetSwitchStatus
    • ConfigurationSetSwitchableJsonExtensions
    • IConfigurationSetCoordinator
    • IConfigurationSetDesiredStateStore
    • IConfigurationSetEventHub
    • IConfigurationSetManager
    • IConfigurationSetStateStore
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.Diagnostics
    • ConfigurationPrecedenceDiagnosticsExtensions
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.Sources
    • HostApplicationBuilderConfigurationExtensions
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.SwitchableJson
    • IJsonConfigurationSourcePreparation
    • ISwitchableJsonConfiguration
    • JsonConfigurationCandidatePreparation
    • JsonConfigurationCandidatePreparations
    • JsonConfigurationSourcePreparationContext
    • JsonConfigurationSourcePreparationException
    • JsonConfigurationValueProtection
    • SwitchableJsonConfigurationEventArgs
    • SwitchableJsonConfigurationEventKind
    • SwitchableJsonConfigurationExtensions
    • SwitchableJsonFailureKind
    • SwitchableJsonPreparationStatus
    • SwitchableJsonRegistrationOptions
    • SwitchableJsonRuntimeFailurePolicy
    • SwitchableJsonSwitchPreparation
    • SwitchableJsonSwitchResult
    • SwitchableJsonSwitchStatus
  • Eigenverft.NetLib.Infrastructure.Hosting.Configuration.Values
    • ConfigurationValueCodec
    • ConfigurationValueCodecs
    • ConfigurationValueKind
    • JsonConfigurationFileEncoder
  • Eigenverft.NetLib.Infrastructure.Hosting.DirectoryLayout
    • AppDirectoryLayout
    • AppDirectoryLayoutFactory
    • DefaultDirectory
    • DefaultDirectoryExtensions
    • DefaultDirectoryNameAttribute
    • HostApplicationBuilderDirectoryLayoutExtensions
    • HostApplicationBuilderFactory
    • IAppDirectoryLayout
  • Eigenverft.NetLib.Infrastructure.Hosting.Logging.BootstrapLogger
    • BootstrapLogger
    • BootstrapLogger<TCategoryName>
  • Eigenverft.NetLib.Infrastructure.Security.Certificates
    • CertificateKeyProfile
    • CertificatePurpose
    • CertificateRecoveryMode
    • CertificateSubject
    • ManagedCertificateAction
    • ManagedCertificateFile
    • ManagedCertificateFileOptions
    • ManagedCertificateResult
    • SelfSignedCertificateFactory
    • SelfSignedCertificateOptions
  • Eigenverft.NetLib.Infrastructure.Security.MachineBinding
    • PhysicalMachineBinding
  • Eigenverft.NetLib.Infrastructure.Text
    • Base92JsonSafeEncoder
  • Eigenverft.NetLib.Infrastructure.Transformations
    • ReversibleStringTransform
    • ReversibleStringTransform.TryReverseDelegate
    • ReversibleStringTransforms

Class ConfigurationSetSwitchResult

Contains the completed result of one configuration-set switch request.

Inheritance
object
ConfigurationSetSwitchResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Eigenverft.NetLib.Infrastructure.Hosting.Configuration.ConfigurationSets
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public sealed class ConfigurationSetSwitchResult

Properties

| Edit this page View Source

ActiveValue

Gets the last value that was fully coordinated across all bindings. When IsConsistent is false, some participant sources may no longer correspond to this value until a later successful reconciliation.

Declaration
public string ActiveValue { get; }
Property Value
Type Description
string
| Edit this page View Source

ConfigurationChanged

Gets whether at least one committed participant changed its effective configuration snapshot.

Declaration
public bool ConfigurationChanged { get; }
Property Value
Type Description
bool
| Edit this page View Source

Exception

Gets the underlying unexpected participant exception, when available.

Declaration
public Exception? Exception { get; }
Property Value
Type Description
Exception
| Edit this page View Source

FailedParticipantName

Gets the participant identity associated with a prepare/commit failure, when available.

Declaration
public string? FailedParticipantName { get; }
Property Value
Type Description
string
| Edit this page View Source

FailureKind

Gets the classified failure kind, or None.

Declaration
public ConfigurationSetSwitchFailureKind FailureKind { get; }
Property Value
Type Description
ConfigurationSetSwitchFailureKind
| Edit this page View Source

HasChanges

Gets whether the operation changed the logical set value, at least one participant source, or effective configuration data.

Declaration
public bool HasChanges { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsConsistent

Gets whether all bound participants are known to represent ActiveValue.

Declaration
public bool IsConsistent { get; }
Property Value
Type Description
bool
| Edit this page View Source

Name

Gets the caller-defined set identity.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

ParticipantResults

Gets the completed participant commits in binding order.

Declaration
public IReadOnlyList<ConfigurationSetParticipantSwitchResult> ParticipantResults { get; }
Property Value
Type Description
IReadOnlyList<ConfigurationSetParticipantSwitchResult>
Remarks

A participant that rejects during preparation has no commit result and is represented by FailedParticipantName and FailureKind instead.

| Edit this page View Source

PreviousValue

Gets the last fully coordinated value before the request.

Declaration
public string PreviousValue { get; }
Property Value
Type Description
string
| Edit this page View Source

RequestedValue

Gets the value requested by the caller.

Declaration
public string RequestedValue { get; }
Property Value
Type Description
string
| Edit this page View Source

Sequence

Gets the monotonically increasing lifecycle sequence scoped to this coordinator.

Declaration
public long Sequence { get; }
Property Value
Type Description
long
| Edit this page View Source

SourceChanged

Gets whether at least one committed participant selected a different source.

Declaration
public bool SourceChanged { get; }
Property Value
Type Description
bool
| Edit this page View Source

Status

Gets the completed switch status.

Declaration
public ConfigurationSetSwitchStatus Status { get; }
Property Value
Type Description
ConfigurationSetSwitchStatus
| Edit this page View Source

Succeeded

Gets whether the requested set value became the fully coordinated active value.

Declaration
public bool Succeeded { get; }
Property Value
Type Description
bool
| Edit this page View Source

Timestamp

Gets the UTC timestamp at which the outcome completed.

Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type Description
DateTimeOffset
| Edit this page View Source

ValueChanged

Gets whether the last fully coordinated set value changed.

Declaration
public bool ValueChanged { get; }
Property Value
Type Description
bool
  • Edit this page
  • View Source
In this article
Back to top