Table of Contents

Constructor DurationBasedSlowPollSettings

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

DurationBasedSlowPollSettings(TimeSpan, TimeSpan)

Initializes a new instance of the DurationBasedSlowPollSettings.

public DurationBasedSlowPollSettings(TimeSpan pingInterval, TimeSpan duration)

Parameters

pingInterval TimeSpan

The ping interval to be validated and set.

duration TimeSpan

The duration 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 or duration is not in the range of [1,300]s.