AdsSession(AmsNetId, Int32, SessionSettings) Constructor

Initializes a new instance of the AdsSession class.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public AdsSession(
    AmsNetId netId,
    int port,
    SessionSettings settings
)

Parameters

netId  AmsNetId

The AmsNetId.

port  Int32

The AmsPort.

settings  SessionSettings

The settings.

Reference

AdsSession Class AdsSession Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026