AdsClientAdsNotificationsInvalidated Event
Occurs when Notification Unregistrations / Invalidates are received from the AdsServer
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public event EventHandler<AdsNotificationsInvalidatedEventArgs> AdsNotificationsInvalidatedRemarks
Some ADS servers are sending 0-size notifications, when the Notification handle is not valid anymore. If received, this event will be triggered, to notify any consumers to invalidate the notification handles. One example for these sort of invalidation is, if ADS Notifications are already registered at the PLC ADS Server, and the PLC Control downloads a new program. All registered notification handles are invalidated!