AdsNotificationEventArgs Class

Provides data for AdsNotificationEvent of the class TcAdsClient.

Inheritance Hierarchy

System.Object
  System.EventArgs
    TwinCAT.Ads.AdsNotificationEventArgs
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public sealed class AdsNotificationEventArgs : EventArgs

VB

Public NotInheritable Class AdsNotificationEventArgs
    Inherits EventArgs

The AdsNotificationEventArgs type exposes the following members.

Constructors

 

Name

Description

AdsNotificationEventArgs Class 1:

AdsNotificationEventArgs

Initializes a new instance of the AdsStream class AdsSyncNotificationEventArgs.

Properties

 

Name

Description

AdsNotificationEventArgs Class 2:

DataStream

Streams that holds the notification data.

AdsNotificationEventArgs Class 3:

Length

Gets the Length of the data in the stream.

AdsNotificationEventArgs Class 4:

NotificationHandle

Gets the handle of the connection.

AdsNotificationEventArgs Class 5:

Offset

Gets the Offset of the data in the stream.

AdsNotificationEventArgs Class 6:

TimeStamp

Gets the timestamp of this Notification.

AdsNotificationEventArgs Class 7:

UserData

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

Methods

 

Name

Description

AdsNotificationEventArgs Class 8:

Equals

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

AdsNotificationEventArgs Class 9:

GetHashCode

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

AdsNotificationEventArgs Class 10:

GetType

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

AdsNotificationEventArgs Class 11:

ToString

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

Reference

TwinCAT.Ads Namespace