AdsClient.TryDeleteDeviceNotification Method (UInt32)

Deletes a registered notification.

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

Syntax

C#

public AdsErrorCode TryDeleteDeviceNotification(
    uint notificationHandle
)

Parameters

notificationHandle

Type: System.UInt32
Notification handle.

Return Value

Type: AdsErrorCode
The ADS error code.

Implements

IAdsNotifications.TryDeleteDeviceNotification(UInt32)

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

AdsClient Class

TryDeleteDeviceNotification Overload

TwinCAT.Ads Namespace

AddDeviceNotification Overload

IAdsNotifications.AdsNotification

TryAddDeviceNotification Overload

AddDeviceNotificationAsync Overload