ConnectionStateChangedReason Enumeration

Reason for the Connection status changed event.


Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public enum ConnectionStateChangedReason

Members

Member name

Value

Description

None

0

None / Uninitialized

Established

1

The connection to the target has been established

Closed

2

The Connection was closed

Lost

3

The connection to the target has been lost

Error

4

Communication error to the target (the connection is not shutting down)

Resurrected

5

Communication was resurrected (available again)

Reference

TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026