SessionProviderTSession, TAddress, TSettingsCreate(Object, ISessionSettings, IConfiguration, ILoggerFactory) Method

Creates the Session with address and communication settings.


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

Syntax

C#

public virtual ISession Create(
    Object address,
    ISessionSettings? settings,
    IConfiguration? configuration,
    ILoggerFactory? loggerFactory
)

Parameters

address  Object

The address.

settings  ISessionSettings

The settings.

configuration  IConfiguration

The configuration.

loggerFactory  ILoggerFactory

The logger factory.

Return Value

ISession
ISession.

Implements

ISessionProviderCreate(Object, ISessionSettings, IConfiguration, ILoggerFactory)

Reference

SessionProviderTSession, TAddress, TSettings Class Create Overload TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026