ISession Interface
Interface ISession
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public interface ISession : IConnectionStateProviderThe ISession type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
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 Session Provider | |
|
|
Gets the session settings. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Closes this ISession | |
|
|
Connects the session and returns the established IConnection object. | |
|
|
Connects the session and returns the established IConnection object. | |
|
|
Disconnects the ISession | |
|
|
Ensures, that the ISession is connected and returns the IConnection object. |
Events
|
|
Name |
Description |
|---|---|---|
|
|
Occurs when connection status of the IConnectionStateProvider
has been changed. |
- ISession.AddressSpecifier Property
- ISession.Connection Property
- IConnectionStateProvider.ConnectionState Property
- ISession.EstablishedAt Property
- ISession.Id Property
- ISession.IsConnected Property
- ISession.Provider Property
- ISession.Close Method
- ISession.Connect Method
- ISession.Disconnect Method
- ISession.EnsureConnection Method
- ISession.ConnectAsync Method
- IConnectionStateProvider.ConnectionStateChanged Event