FileConfigurationSource.RefreshAndValidateSections Method
Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications and should be notified to registered handlers.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
protected override void RefreshAndValidateSections(
IDictionary<string, string> localSectionsToRefresh,
IDictionary<string, string> externalSectionsToRefresh,
out ICollection<string> sectionsToNotify,
out IDictionary<string, string> sectionsWithChangedConfigSource
)
'Declaration
Protected Overrides Sub RefreshAndValidateSections (
localSectionsToRefresh As IDictionary(Of String, String),
externalSectionsToRefresh As IDictionary(Of String, String),
<OutAttribute> ByRef sectionsToNotify As ICollection(Of String),
<OutAttribute> ByRef sectionsWithChangedConfigSource As IDictionary(Of String, String)
)
protected:
virtual void RefreshAndValidateSections(
IDictionary<String^, String^>^ localSectionsToRefresh,
IDictionary<String^, String^>^ externalSectionsToRefresh,
[OutAttribute] ICollection<String^>^% sectionsToNotify,
[OutAttribute] IDictionary<String^, String^>^% sectionsWithChangedConfigSource
) override
Parameters
- localSectionsToRefresh
Type: System.Collections.Generic.IDictionary<String, String>
A dictionary with the configuration sections residing in the main configuration file that must be refreshed.
- externalSectionsToRefresh
Type: System.Collections.Generic.IDictionary<String, String>
A dictionary with the configuration sections residing in external files that must be refreshed.
- sectionsToNotify
Type: System.Collections.Generic.ICollection<String>%
A new collection with the names of the sections that suffered changes and should be notified.
- sectionsWithChangedConfigSource
Type: System.Collections.Generic.IDictionary<String, String>%
A new dictionary with the names and file names of the sections that have changed their location.
See Also
FileConfigurationSource Members
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace