Share via


SettingRetrievalOutcome Enum

Definition

The outcome of a call to one of ISettingsReader's Get* methods.

public enum SettingRetrievalOutcome
type SettingRetrievalOutcome = 
Public Enum SettingRetrievalOutcome
Inheritance
SettingRetrievalOutcome

Fields

Name Value Description
Success 0
FailedValidation 1

Failed because RequireValidation was set and the setting value failed validation.

NotRegistered 2

Failed because RequireRegistration was set and the setting wasn't registered.

NotPersisted 3

Failed because the setting has no registered default value and no persisted value.

InvalidType 4

Failed because the persisted value can't be converted to the specified type.

InternalError 5

An unexpected error occurred. See the error message for details.

NoMigration 6

ApplyMigration was specified but the registration doesn't include migration.

MigrationFailed 7

ApplyMigration was specified but the migration failed.

NotSupportedInClassicMode 8

The attempted operation is not supported when Unified Settings is disabled. The caller should read the legacy store directly.

Applies to