TcAdsClient.OnConnectionStateChanged Method

Called when the ConnectionState of the TcAdsClient has changed.

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

Syntax

C#

protected virtual void OnConnectionStateChanged(
    ConnectionState newState,
    ConnectionState oldState
)

VB

Protected Overridable Sub OnConnectionStateChanged ( 
    newState As ConnectionState,
    oldState As ConnectionState
)

Parameters

newState

Type: TwinCAT.ConnectionState
The new state.

oldState

Type: TwinCAT.ConnectionState
The old state.

Reference

TcAdsClient Class

TwinCAT.Ads Namespace