Method StopValueMonitor
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
StopValueMonitor(string, string, TimeSpan, bool)
Stops monitoring value changes for the specified source and primary key.
void StopValueMonitor(string sourceId, string primaryKey, TimeSpan subscribeTimeout, bool force = false)
Parameters
sourceIdstringThe unique identifier of the data source whose value monitoring should be stopped. Cannot be null or empty.
primaryKeystringThe primary key identifying the specific value to stop monitoring. Cannot be null or empty.
subscribeTimeoutTimeSpanThe maximum duration to wait for the unsubscribe operation to complete before timing out.
forceboolIf true, forces the monitor to stop immediately, potentially bypassing normal cleanup. If false, attempts a graceful shutdown.
StopValueMonitor(string, string, bool)
Stops monitoring value changes for the specified source and primary key.
void StopValueMonitor(string sourceId, string primaryKey, bool force = false)
Parameters
sourceIdstringThe unique identifier of the data source whose value monitoring should be stopped. Cannot be null or empty.
primaryKeystringThe primary key identifying the specific value to stop monitoring. Cannot be null or empty.
forceboolIf true, forces the monitor to stop immediately, potentially bypassing normal cleanup. If false, attempts a graceful shutdown.
StopValueMonitor(string, TimeSpan, bool)
Stops monitoring value changes for the specified source.
void StopValueMonitor(string sourceId, TimeSpan subscribeTimeout, bool force = false)
Parameters
sourceIdstringThe unique identifier of the source whose value monitoring should be stopped. Cannot be null or empty.
subscribeTimeoutTimeSpanThe maximum duration to wait for the unsubscribe operation to complete before timing out.
forceboolIf true, forces the monitor to stop immediately, potentially bypassing normal cleanup. If false, attempts a graceful shutdown.
StopValueMonitor(string, bool)
Stops monitoring value changes for the specified source.
void StopValueMonitor(string sourceId, bool force = false)