ITcAdsServiceDuplex.GetTimeout
Gets the timeout for the associated TcAdsClient.
int GetTimeout (
string netId,
int port
);
Parameters
netId | NetID of the target AMS Router. |
port | Port of the target AMS Router. |
Return Value
The actual timeout value in milliseconds.
SOAP Error Faults
Type | Description |
---|---|
The AdsErrorFault is returned if an AdsException is thrown by a TcAdsClient object in a method of the TwinCAT ADS WCF service. | |
The AdsErrorErrorFault is returned if an AdsErrorException is thrown by a TcAdsClient object in a method of the TwinCAT ADS WCF service. | |
The AdsNotificationClientNotFoundErrorFault is returned if a TcAdsClient object for AdsNotification through passing is not found in the NotificationClient cache of a wcf duplex context. | |
The UnexpectedErrorFault is returned if an unexpected Error occurs. |