IInternalConfigHost.StartMonitoringStreamForChanges Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.