IAdsNotifications.DeleteDeviceNotificationAsync Method
Deletes a registered notification asynchronously.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
Task<ResultAds> DeleteDeviceNotificationAsync(
uint notificationHandle,
CancellationToken cancel
)Parameters
|
notificationHandle UInt32 |
Notification handle. |
|
cancel CancellationToken |
The cancellation token. |
Return Value
Task<ResultAds>
A task that represents the asynchronous 'DeleteDeviceNotification' operation. The ErrorCode property contains the
ADS error code after execution.
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.
See Also
Reference
IAdsNotifications Interface TwinCAT.Ads Namespace {0} Overload AdsNotification {0} Overload {0} Overload
Beckhoff Automation GmbH & Co. KG 2001-2026