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

Initializes a new instance of the AdsStream class AdsSyncNotificationEventArgs.

Properties

 

Name

Description

DataStream

Streams that holds the notification data.

Length

Gets the Length of the data in the stream.

NotificationHandle

Gets the handle of the connection.

Offset

Gets the Offset of the data in the stream.

TimeStamp

Gets the timestamp of this Notification.

UserData

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

Methods

 

Name

Description

Equals

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

GetHashCode

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

GetType

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

ToString

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

Reference

TwinCAT.Ads Namespace