IConnection Interface
Interface IConnection
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public interface IConnection : IConnectionStateProvider
The IConnection type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the current Connection state of the IConnectionStateProvider (Inherited from IConnectionStateProvider.) | |
|
Gets the default value encoding. | |
|
Gets the Connection Identifier . | |
|
Gets a value indicating whether the local ADS port was opened successfully. It does not indicate if the target port is available. Use the method ReadState to determine if the target port is available. | |
|
Gets the session that initiated this IConnection | |
|
Gets the timeout (in milliseconds) |
Methods
|
Name |
Description |
---|---|---|
|
Closes this IConnection | |
|
(Re)Connects the IConnection when disconnected. | |
|
Disconnects this IConnection. |
Events
|
Name |
Description |
---|---|---|
|
Occurs when connection status of the IConnectionStateProvider has been changed. (Inherited from IConnectionStateProvider.) |