AdsStateChangedEventArgs Class

Provides data for AdsStateChangedEvent of the class TcAdsClient.

Inheritance Hierarchy

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

Syntax

C#

public sealed class AdsStateChangedEventArgs : EventArgs

VB

Public NotInheritable Class AdsStateChangedEventArgs
    Inherits EventArgs

The AdsStateChangedEventArgs type exposes the following members.

Constructors

 

Name

Description

AdsStateChangedEventArgs(AdsStateChangedEventArgs)

Initializes a new instance of the AdsStateChangedEventArgs class.

AdsStateChangedEventArgs(StateInfo)

Initializes a new instance of the AdsStateChangedEventArgs class.

Properties

 

Name

Description

State

Current state of the ADS device.

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