AdsServer.OnServerConnectionStateChanged Method

Handles the ServerConnectionStateChanged event.

Namespace:  TwinCAT.Ads.Server
Assembly:  TwinCAT.Ads.Server (in TwinCAT.Ads.Server.dll) Version: 6.0.328+39e3229

Syntax

C#

protected virtual void OnServerConnectionStateChanged(
    Object? sender,
    ServerConnectionStateChangedEventArgs e
)

Parameters

sender

Type: System.Object
The sender.

e

Type: TwinCAT.Ads.Server.ServerConnectionStateChangedEventArgs
The ServerConnectionStateChangedEventArgs instance containing the event data.

Reference

AdsServer Class

TwinCAT.Ads.Server Namespace