ConnectionStateChangedReason Enumeration

Reason for the Connection status changed event.

Namespace:  TwinCAT
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public enum ConnectionStateChangedReason

VB

Public Enumeration 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