IInternalConfigHost.StartMonitoringStreamForChanges Method

Definition

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

public:
 System::Object ^ StartMonitoringStreamForChanges(System::String ^ streamName, System::Configuration::Internal::StreamChangeCallback ^ callback);
public object StartMonitoringStreamForChanges (string streamName, System.Configuration.Internal.StreamChangeCallback callback);
abstract member StartMonitoringStreamForChanges : string * System.Configuration.Internal.StreamChangeCallback -> obj
Public Function StartMonitoringStreamForChanges (streamName As String, callback As StreamChangeCallback) As Object

Parameters

streamName
String

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

callback
StreamChangeCallback

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

Returns

An Object containing changed configuration settings.

Applies to