AdsConnection.TryDeleteDeviceNotification Method

Deletes an existing notification.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public AdsErrorCode TryDeleteDeviceNotification(
    uint notificationHandle
)

VB

Public Function TryDeleteDeviceNotification ( 
    notificationHandle As UInteger
) As AdsErrorCode

Parameters

notificationHandle

Type: System.UInt32
Handle of the notification.

Return Value

Type: AdsErrorCode
AdsErrorCode.

Implements

IAdsNotifications.TryDeleteDeviceNotification(UInt32)

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsConnection Class

TwinCAT.Ads Namespace