IAdsNotifications Interface
Interface for Notification management.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public interface IAdsNotifications
The IAdsNotifications type exposes the following members.
Methods
|
Name |
Description |
---|---|---|
|
AddDeviceNotification(String, Int32, NotificationSettings, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(UInt32, UInt32, Int32, NotificationSettings, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationAsync(String, Int32, NotificationSettings, Object, CancellationToken) |
Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationAsync(UInt32, UInt32, Int32, NotificationSettings, Object, CancellationToken) |
Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(String, NotificationSettings, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. |
|
AddDeviceNotificationEx(String, NotificationSettings, Object, Type, .Int32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. |
|
AddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. |
|
AddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type, .Int32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. If type is a string type, the first element of the parameter args specifies the number of characters of the string. If type is an array type, the number of elements for each dimension has to be specified in the parameter args. Only primitive ('AnyType') types are allowed for the parameter type. |
|
AddDeviceNotificationExAsync(String, NotificationSettings, Object, Type, .Int32., CancellationToken) |
Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotificationEx event. |
|
Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotificationEx event. | |
|
Deletes a registered notification. | |
|
Deletes a registered notification asynchronously. | |
|
TryAddDeviceNotification(String, Int32, NotificationSettings, Object, UInt32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
TryAddDeviceNotification(UInt32, UInt32, Int32, NotificationSettings, Object, UInt32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
TryAddDeviceNotificationEx(String, NotificationSettings, Object, Type, .Int32., UInt32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. |
|
TryAddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type, .Int32., UInt32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. |
|
Deletes a registered notification. |
Events
|
Name |
Description |
---|---|---|
|
Occurs when the ADS device sends a notification to the client. | |
|
Occurs when a exception has occurred during notification management. | |
|
Occurs when the ADS devices sends a notification to the client. | |
|
Occurs when Notifications are send (bundled notifications) |