IConnection Interface
Interface IConnection
Namespace: TwinCAT
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public interface IConnection : IConnectionStateProvider
VB
Public Interface IConnection
Inherits IConnectionStateProvider
The IConnection type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the current Connection state of the IConnectionStateProvider (Inherited from IConnectionStateProvider.) | |
|
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.) |