IAdsSession Interface
Interface IAdsSession
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public interface IAdsSession : ISession,
IConnectionStateProvider, ISymbolServerProviderThe IAdsSession type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the Address specifier of the Session / connection | |
|
|
Gets the communication endpoint address string
representation. | |
|
|
Gets the Connection object. | |
|
|
Gets the current Connection state of the IConnectionStateProvider | |
|
|
Gets the UTC time when the session was established. | |
|
|
Gets the Session Id | |
|
|
Gets a value indicating whether the session is connected. | |
|
|
Gets the NetId of the Session | |
|
|
Gets the Session owner. | |
|
|
Gets the Ams Port of the Session | |
|
|
Gets the Session Provider | |
|
|
Gets the session settings. | |
|
|
Gets the symbol server. |
Methods
|
|
Name |
Description |
|---|---|---|
|
| ||
|
|
Connects the session and returns the established IConnection
object. | |
|
|
Connects the session and returns the established IConnection
object. | |
|
| ||
|
|
Ensures, that the ISession is
connected and returns the IConnection
object. |
Events
|
|
Name |
Description |
|---|---|---|
|
|
Occurs when connection status of the IConnectionStateProvider
has been changed. |
- IAdsSession.Address Property
- ISession.AddressSpecifier Property
- ISession.Connection Property
- IConnectionStateProvider.ConnectionState Property
- ISession.EstablishedAt Property
- ISession.Id Property
- ISession.IsConnected Property
- IAdsSession.NetId Property
- IAdsSession.Owner Property
- IAdsSession.Port Property
- ISession.Provider Property
- ISymbolServerProvider.SymbolServer Property
- ISession.Close Method
- ISession.Connect Method
- ISession.Disconnect Method
- ISession.EnsureConnection Method
- ISession.ConnectAsync Method
- IConnectionStateProvider.ConnectionStateChanged Event