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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.