AdsClient Constructor (ISession, AdsClientSettings, ILogger)

Initializes a new instance of the AdsClient class.

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

Syntax

C#

public AdsClient(
    ISession? session,
    AdsClientSettings settings,
    ILogger? logger
)

Parameters

session

Type: TwinCAT.ISession
The session.

settings

Type: TwinCAT.Ads.AdsClientSettings
The settings.

logger

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

Reference

AdsClient Class

AdsClient Overload

TwinCAT.Ads Namespace