AdsSession Constructor (AmsAddress, SessionSettings)

Initializes a new instance of the AdsSession class.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public AdsSession(
    AmsAddress address,
    SessionSettings settings
)

VB

Public Sub New ( 
    address As AmsAddress,
    settings As SessionSettings
)

Parameters

address

Type: TwinCAT.Ads.AmsAddress
The address.

settings

Type: TwinCAT.Ads.SessionSettings
The settings.

Reference

AdsSession Class

AdsSession Overload

TwinCAT.Ads Namespace