IAdsNotifications.AdsNotificationError Event
Occurs when a exception has occurred during notification management.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
event EventHandler<AdsNotificationErrorEventArgs> AdsNotificationError
Remarks
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 'AdsInvalidNotificationException.Handle' property.