SessionProvider<TSession, TAddress, TSettings>.Create(TAddress, TSettings, IConfiguration, ILoggerFactory) Method

Creates the Session with specified address and communication settings.


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

Syntax

C#

public abstract TSession Create(
TAddress address,
TSettings settings,
IConfiguration? configuration,
ILoggerFactory? loggerFactory
)

Parameters

address  TAddress

The address.

settings  TSettings

The communicationSettings.

configuration  IConfiguration

The configuration.

loggerFactory  ILoggerFactory

The logger factory.

Return Value

TSession
S.

Implements

ISessionProvider<TSession, TAddress, TSettings>.Create(TAddress, TSettings, IConfiguration, ILoggerFactory)

See Also

Reference

SessionProvider<TSession, TAddress, TSettings> Class Create Overload TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026