IInternalConfigHost.StartMonitoringStreamForChanges Method (String, StreamChangeCallback)

 
System_CAPS_noteNote

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
)

Parameters

streamName
Type: System.String

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

callback
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
Show: