AdsClientAdsNotificationError Event
Occurs when a exception has occurred during notification management.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public event EventHandler<AdsNotificationErrorEventArgs> AdsNotificationErrorRemarks
The occurrence of this event can have two different reasons:
- Indicates an internal error occurred during Notification management.
- The registered notification becomes invalid on the server, eg. after a PLC Download / Online Change. If the ADS Server detects that the (still registered) Notification Sender is getting invalid, it sends an error notification so that the client will be informed about detached notifications. The event arguments contains the AdsInvalidNotificationException which describes the invalid notification handle by its Handle property.
Reference
AdsClient Class TwinCAT.Ads Namespace AdsInvalidNotificationException AdsNotification AdsNotificationEx
Beckhoff Automation GmbH & Co. KG 2001-2026