AdsSession Constructor (AmsAddress, SessionSettings, ILogger, Object)

Initializes a new instance of the AdsSession class.

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

Syntax

C#

public AdsSession(
    AmsAddress address,
    SessionSettings settings,
    ILogger? logger,
    Object? owner
)

Parameters

address

Type: TwinCAT.Ads.AmsAddress
The address.

settings

Type: TwinCAT.Ads.SessionSettings
The settings.

logger

Type: Microsoft.Extensions.Logging.ILogger
The logger interface.

owner

Type: System.Object
The session owner

Reference

AdsSession Class

AdsSession Overload

TwinCAT.Ads Namespace