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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour