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
sourceId
stringThe identifier used when starting the subscription.
subscribeTimeout
TimeSpanThe maximum time to wait for cleanup to complete.
force
boolIf 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
sourceId
is 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
sourceId
stringThe identifier used when starting the subscription.
force
boolIf 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
sourceId
is null.- InvalidOperationException
Could not remove subscriptions within the default timeout.