IConfigurationSource.AddSectionChangeHandler Method

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) Version: 6.0.0.0 (6.0.1304.0)

Syntax

void AddSectionChangeHandler(
    string sectionName,
    ConfigurationChangedEventHandler handler
)
'Declaration
Sub AddSectionChangeHandler ( 
    sectionName As String,
    handler As ConfigurationChangedEventHandler
)
void AddSectionChangeHandler(
    String^ sectionName, 
    ConfigurationChangedEventHandler^ handler
)

Parameters

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

See Also

IConfigurationSource Interface

IConfigurationSource Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace