ISession Interface
Interface ISession
Namespace: TwinCAT
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public interface ISession : IConnectionStateProvider
VB
Public Interface ISession
Inherits IConnectionStateProvider
The 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 (Inherited from IConnectionStateProvider.) | |
|
Gets the UTC time when the session was established. | |
|
Gets the Session Id | |
|
Gets a value indicating whether the session is connected. |
Methods
|
Name |
Description |
---|---|---|
|
Closes this ISession | |
|
Connects the session and returns the established IConnection object. | |
|
Disconnects the ISession |
Events
|
Name |
Description |
---|---|---|
|
Occurs when connection status of the IConnectionStateProvider has been changed. (Inherited from IConnectionStateProvider.) |