SessionOnDisconnect Method

Handler function disconnecting the session.


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

Syntax

C#

protected virtual bool OnDisconnect()

Return Value

Boolean
true if the Session is disconnected, false if the Session was disconnected before.

Reference

Session Class TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026