IInternalConfigHost.StartMonitoringStreamForChanges Method (String, StreamChangeCallback)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Instructs the IInternalConfigHost object to monitor an associated Stream object for changes in a configuration file.

Namespace:   System.Configuration.Internal
Assembly:  System.Configuration (in System.Configuration.dll)

object StartMonitoringStreamForChanges(
	string streamName,
	StreamChangeCallback callback


Type: System.String

A string representing the name of the Stream object performing I/O tasks on the configuration file.

Type: System.Configuration.Internal.StreamChangeCallback

A StreamChangeCallback object to receive the returned data representing the changes in the configuration file.

Return Value

Type: System.Object

An Object containing changed configuration settings.

.NET Framework
Available since 2.0
Return to top