Session.OnDisconnect Method

Handler function disconnecting the session.

Namespace:  TwinCAT
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

protected virtual bool OnDisconnect()

Return Value

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

Reference

Session Class

TwinCAT Namespace