IAdsNotificationsAdsNotificationError Event
Occurs when a exception has occurred during notification management.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
event EventHandler<AdsNotificationErrorEventArgs> AdsNotificationErrorRemarks
The occurrence of this event can have two different reasons:
- Indicates an client side error occurred during Notification management. E.g. when the requested AnyType cannot be marshalled.
- 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 'AdsInvalidNotificationException.Handle' property.
Reference
IAdsNotifications Interface TwinCAT.Ads Namespace AdsNotification AdsNotificationEx
Beckhoff Automation GmbH & Co. KG 2001-2026