Creates a Range condition for a time span alert.

Namespace: ININ.IceLib.Statistics.Alerts
Assembly: ININ.IceLib.Statistics (in ININ.IceLib.Statistics.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public static NumericTimeSpanCondition CreateRangeCondition(
	TimeSpan minimum,
	TimeSpan maximum
)
Visual Basic
Public Shared Function CreateRangeCondition ( _
	minimum As TimeSpan, _
	maximum As TimeSpan _
) As NumericTimeSpanCondition

Parameters

minimum
Type: System..::..TimeSpan
The minimum.
maximum
Type: System..::..TimeSpan
The maximum.

Return Value

An instance of a NumericTimeSpanCondition triggering on a range comparison.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThe maximum value must be greater than the minimum value.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.

See Also