Method StopValueMonitor
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
StopValueMonitor(string, TimeSpan, bool)
Stops monitoring value changes for the specified table.
void StopValueMonitor(string sourceId, TimeSpan subscribeTimeout, bool force = false)
Parameters
sourceIdstringThe identifier used when starting the subscription.
subscribeTimeoutTimeSpanThe maximum time to wait for cleanup to complete.
forceboolIf true, will force cleanup even if normal cleanup fails.
Remarks
These extension methods are intended for use outside of Protocols.
If you are working **within a Protocol**, use the cleanup-capable methods in the Skyline.DataMiner.Core.DataMinerSystem.Protocol.Subscription.Monitors namespace instead.
Exceptions
- ArgumentNullException
sourceIdis null.- InvalidOperationException
Could not remove subscriptions within the specified timeout.
StopValueMonitor(string, bool)
Stops monitoring value changes for the specified table, using a default timeout.
void StopValueMonitor(string sourceId, bool force = false)
Parameters
sourceIdstringThe identifier used when starting the subscription.
forceboolIf true, will force cleanup even if normal cleanup fails.
Remarks
These extension methods are intended for use outside of Protocols.
If you are working **within a Protocol**, use the cleanup-capable methods in the Skyline.DataMiner.Core.DataMinerSystem.Protocol.Subscription.Monitors namespace instead.
Exceptions
- ArgumentNullException
sourceIdis null.- InvalidOperationException
Could not remove subscriptions within the default timeout.