Error handling
// the source contains incorrect data
provider.Get<MySettings>(); // throws an exception
// the source updates with correct data
provider.Get<MySettings>(); // returns settings
// the source updates with incorrect data once again
provider.Get<MySettings>(); // returns settings from cacheRelated pages
Configuration providerLog errorsObtain settings from providerObtain settings from providerLast updated
Was this helpful?