AdsStateChangedEventArgs2 Constructor

Initializes a new instance of the AdsStateChangedEventArgs2 class.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public AdsStateChangedEventArgs2(
    StateInfo newState,
    StateInfo oldState,
    IAdsSession session
)

VB

Public Sub New ( 
    newState As StateInfo,
    oldState As StateInfo,
    session As IAdsSession
)

Parameters

newState

Type: TwinCAT.Ads.StateInfo
The new state.

oldState

Type: TwinCAT.Ads.StateInfo
The old state.

session

Type: TwinCAT.Ads.IAdsSession
The session.

Reference

AdsStateChangedEventArgs2 Class

TwinCAT.Ads Namespace