Reference
OpcClient.ReconnectInterval Property
Gets or sets the time between two attempts to reconnect to a halted session.
Reference
OpcClient.ReconnectInterval Property
- Type
- OpcClient
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcClient Members
- Also in
- Opc.UaFx.Client
Gets or sets the time between two attempts to reconnect to a halted session.
public int ReconnectInterval { get; set; }Public Property ReconnectInterval As IntegerProperty value
The time in milliseconds the client waits before each attempt to reconnect. A value equals zero indicates that there is no reconnect attempt performed.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The value is less than zero. |
Remarks
The default value of this property is DefaultReconnectInterval.
The first attempt is made one interval after the break has been detected. It activates the existing session again. A server that lost the session, for example because it restarted, rejects that, and the attempt then creates a new session. The client keeps attempting until an attempt succeeds, MaxReconnectDuration has elapsed or Disconnect is called.

