IConfigurationSource.AddSectionChangeHandler Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Adds a handler to be called when changes to the section named sectionName are detected.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
SubAddSectionChangeHandler ( _
    sectionNameAs String, _
    handlerAs ConfigurationChangedEventHandler _
)
voidAddSectionChangeHandler(
    string sectionName,
    ConfigurationChangedEventHandler handler
)
voidAddSectionChangeHandler(
    String^ sectionName, 
    ConfigurationChangedEventHandler^ handler
)
functionAddSectionChangeHandler(
    sectionName : String, 
    handler : ConfigurationChangedEventHandler
)

Parameters

  • sectionName
    Type: System.String
    The name of the section to watch for.

See Also

IConfigurationSource Interface

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.