AdsNotificationEventArgs Class

Event argument class for AdsNotification events.

Inheritance Hierarchy

System.Object
  System.EventArgs
    TwinCAT.Ads.AdsNotificationEventArgs
      TwinCAT.Ads.AdsNotificationExEventArgs
      TwinCAT.Ads.ValueNotificationEventArgs.T.
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public class AdsNotificationEventArgs : EventArgs, 
    INotification

The AdsNotificationEventArgs type exposes the following members.

Properties

 

Name

Description

AdsNotificationEventArgs Class 1:

Data

Memory object holding the Notification Data/Value.

AdsNotificationEventArgs Class 2:

Handle

Gets the Notification handle.

AdsNotificationEventArgs Class 3:

TimeStamp

Gets the time stamp of this Notification as DateTimeOffset.

AdsNotificationEventArgs Class 4:

UserData

Gets the user object. This object is passed by to AddDeviceNotification and can be used to store data.

Methods

 

Name

Description

AdsNotificationEventArgs Class 5:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

AdsNotificationEventArgs Class 6:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

AdsNotificationEventArgs Class 7:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

AdsNotificationEventArgs Class 8:

GetType

Gets the Type of the current instance. (Inherited from Object.)

AdsNotificationEventArgs Class 9:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

AdsNotificationEventArgs Class 10:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Reference

TwinCAT.Ads Namespace