IAdsNotifications.TryDeleteDeviceNotification Method

Deletes a registered notification.

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

Syntax

C#

AdsErrorCode TryDeleteDeviceNotification(
    uint notificationHandle
)

Parameters

notificationHandle

Type: System.UInt32
Notification handle.

Return Value

Type: AdsErrorCode
The ADS error code.

Remarks

This is the complementary method to TryAddDeviceNotification Overload overloads and should be called when the notification is not needed anymore the free TwinCAT realtime resources.

Reference

IAdsNotifications Interface

TwinCAT.Ads Namespace

AddDeviceNotification Overload

IAdsNotifications.AdsNotification

TryAddDeviceNotification Overload

AddDeviceNotificationAsync Overload