FileBasedConfigurationSource.RemoveSectionChangeHandler Method
Remove a handler to be called when changes to section
sectionName
are detected.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
Syntax
'Declaration
Public Sub RemoveSectionChangeHandler ( _
sectionName As String, _
handler As ConfigurationChangedEventHandler _
)
public void RemoveSectionChangeHandler(
string sectionName,
ConfigurationChangedEventHandler handler
)
public:
virtual void RemoveSectionChangeHandler(
String^ sectionName,
ConfigurationChangedEventHandler^ handler
) sealed
public final function RemoveSectionChangeHandler(
sectionName : String,
handler : ConfigurationChangedEventHandler
)
Parameters
- sectionName
Type: System.String
The name of the section to watch for.
- handler
Type: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationChangedEventHandler
The handler.
Implements
IConfigurationSource.RemoveSectionChangeHandler(String, ConfigurationChangedEventHandler)
See Also
FileBasedConfigurationSource Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace