Sets the amount of time (in seconds) to wait between reconnection attempts when the connection has been lost, allowing a difference between the amount of time before an initial reconnect and all subsequent reconnect attempts.

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

Syntax

C#
public void SetAutoReconnectInterval(
	int initialInterval,
	int subsequentIntervals
)
Visual Basic
Public Sub SetAutoReconnectInterval ( _
	initialInterval As Integer, _
	subsequentIntervals As Integer _
)

Parameters

initialInterval
Type: System..::..Int32
The time, in seconds, to wait before performing an initial reconnection attempt.
subsequentIntervals
Type: System..::..Int32
The time, in seconds, to wait between all reconnection attempts after the first reconnection attempt has occurred.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionAn invalid interval parameter value was used.

Version Information

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

See Also