Constructor TimeoutCountBasedSlowPollSettings
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
TimeoutCountBasedSlowPollSettings(TimeSpan, int)
Initializes a new instance of the TimeoutCountBasedSlowPollSettings class.
public TimeoutCountBasedSlowPollSettings(TimeSpan pingInterval, int timeoutCount)
Parameters
pingInterval
TimeSpanThe ping interval to be validated and set.
timeoutCount
intThe timeout count to be validated and set.
Remarks
Fractional seconds specified in pingInterval
are ignored. For example, setting the ping interval to a value of 3.5s results in setting it to 3s.
Exceptions
- ArgumentOutOfRangeException
pingInterval
is not in the range of [1,300]s ortimeoutCount
is not in the range of [1, 500].