Share via


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)

Syntax

'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 override void RefreshAndValidateSections(
    IDictionary<string, string> localSectionsToRefresh,
    IDictionary<string, string> externalSectionsToRefresh,
    out ICollection<string> sectionsToNotify,
    out IDictionary<string, string> sectionsWithChangedConfigSource
)
protected:
virtual void RefreshAndValidateSections(
    IDictionary<String^, String^>^ localSectionsToRefresh, 
    IDictionary<String^, String^>^ externalSectionsToRefresh, 
    [OutAttribute] ICollection<String^>^% sectionsToNotify, 
    [OutAttribute] IDictionary<String^, String^>^% sectionsWithChangedConfigSource
) override
protected override function RefreshAndValidateSections(
    localSectionsToRefresh : IDictionary<String, String>, 
    externalSectionsToRefresh : IDictionary<String, String>, 
    sectionsToNotify : ICollection<String>, 
    sectionsWithChangedConfigSource : IDictionary<String, String>
)

Parameters

See Also

FileConfigurationSource Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace