IAdsSession Interface
Interface IAdsSession
          Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public interface IAdsSession : ISession,
IConnectionStateProvider
VB
Public Interface IAdsSession
Inherits ISession, IConnectionStateProvider
The IAdsSession type exposes the following members.
Properties
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Gets the Address specifier of the Session / connection  | |
| 
                   
                      | 
                   Gets the communication endpoint address string representation. (Inherited from ISession.)  | |
| 
                   
                      | 
                   Gets the Connection object. (Inherited from ISession.)  | |
| 
                   
                     
                      | 
                   Gets the current Connection state of the IConnectionStateProvider (Inherited from IConnectionStateProvider.)  | |
| 
                   
                      | 
                   Gets the UTC time when the session was established. (Inherited from ISession.)  | |
| 
                   
                      | 
                   Gets the Session Id (Inherited from ISession.)  | |
| 
                   
                      | 
                   Gets a value indicating whether the session is connected. (Inherited from ISession.)  | |
| 
                   
                      | 
                   Gets the NetId of the Session  | |
| 
                   
                      | 
                   Gets the Session owner.  | |
| 
                   
                      | 
                   Gets the Ams Port of the Session  | 
Methods
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | ||
| 
                   
                      | 
                   Connects the session and returns the established IConnection object. (Inherited from ISession.)  | |
| 
                   
                      | 
Events
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                     
                      | 
                   Occurs when connection status of the IConnectionStateProvider has been changed. (Inherited from IConnectionStateProvider.)  |