AdsSession Constructor (AmsNetId, Int32, 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(
AmsNetId netId,
int port,
SessionSettings settings
)
VB
Public Sub New (
netId As AmsNetId,
port As Integer,
settings As SessionSettings
)
Parameters
| 
                   netId  | 
                   Type: TwinCAT.Ads.AmsNetId  | 
| 
                   port  | 
                   Type: System.Int32  | 
| 
                   settings  | 
                   Type: TwinCAT.Ads.SessionSettings  |