ServerConnectionStateChangedEventArgs Constructor

Initializes a new instance of the ServerConnectionStateChangedEventArgs class.

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

Syntax

C#

public ServerConnectionStateChangedEventArgs(
    AmsAddress address,
    ServerConnectionState state
)

Parameters

address

Type: TwinCAT.Ads.AmsAddress
The address.

state

Type: TwinCAT.Ads.Server.ServerConnectionState
The state.

Reference

ServerConnectionStateChangedEventArgs Class

TwinCAT.Ads.Server Namespace