AdsClientTryDeleteDeviceNotification(UInt32, Int32) Method

Deletes a registered notification.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public AdsErrorCode TryDeleteDeviceNotification(
    uint notificationHandle,
    int timeout
)

Parameters

notificationHandle  UInt32

Notification handle.

timeout  Int32

The timeout.

Return Value

AdsErrorCode
The ADS error code.

Exceptions

Exception

Condition

ObjectDisposedException

ClientNotConnectedException

Remarks

This is the complementary method to {0} 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 {0} Overload AdsNotification {0} Overload {0} Overload

Beckhoff Automation GmbH & Co. KG 2001-2026