AdsSessionBase Constructor

Initializes a new instance of the AdsSessionBase class.


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

Syntax

C#

protected AdsSessionBase(
    AmsAddress address,
    SessionSettings settings,
    IAdsConnectionFactory factory,
    IConfiguration? configuration,
    ILoggerFactory? loggerFactory,
    Object? owner
)

Parameters

address  AmsAddress

The address.

settings  SessionSettings

The settings.

factory  IAdsConnectionFactory

The client factory

configuration  IConfiguration

The configuration.

loggerFactory  ILoggerFactory

The logger factory.

owner  Object

The session owner

Exceptions

Exception

Condition

ArgumentNullException

address

Reference

AdsSessionBase Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026