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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.