AdsClient.AdsNotificationsInvalidated Event

Occurs when Notification Unregistrations / Invalidates are received from the AdsServer

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

Syntax

C#

public event EventHandler<AdsNotificationsInvalidatedEventArgs> AdsNotificationsInvalidated

Value

Type: System.EventHandler.AdsNotificationsInvalidatedEventArgs.

Remarks

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!

Reference

AdsClient Class

TwinCAT.Ads Namespace