AdsServer.DeviceNotificationRequestAsync Method
Sends an ADS Device Notification request asynchronously
Namespace: TwinCAT.Ads.Server
Assembly: TwinCAT.Ads.Server (in
TwinCAT.Ads.Server.dll) Version: 6.0.328+39e3229
Syntax
C#
protected Task<AdsErrorCode> DeviceNotificationRequestAsync(
AmsAddress target,
uint invokeId,
uint numStampHeaders,
NotificationSamplesStamp[] notificationHeaders,
CancellationToken cancel
)
Parameters
target |
Type: TwinCAT.Ads.AmsAddress |
invokeId |
Type: System.UInt32 |
numStampHeaders |
Type: System.UInt32 |
notificationHeaders |
Type: .TwinCAT.Ads.Server.NotificationSamplesStamp. |
cancel |
Type: System.Threading.CancellationToken |
Exceptions
Exception |
Condition |
---|---|
target | |
notificationHeaders |