ITcAdsServiceDuplex.SetTimeout

Sets the timeout for the associated TcAdsClient.

void SetTimeout ( 
    string netId, 
    int port, 
    int value 
);

Parameters

netId

NetID of the target AMS Router.

port

Port of the target AMS Router.

value

The timeout value in milliseconds.

SOAP Error Faults

Type

Description

AdsErrorFault

The AdsErrorFault is returned if an AdsException is thrown by a TcAdsClient object in a method of the TwinCAT ADS WCF service.

AdsErrorErrorFault

The AdsErrorErrorFault is returned if an AdsErrorException is thrown by a TcAdsClient object in a method of the TwinCAT ADS WCF service.

AdsNotificationClientNotFoundErrorFault

The AdsNotificationClientNotFoundErrorFault is returned if a TcAdsClient object for AdsNotification through passing is not found in the NotificationClient cache of a wcf duplex context.

UnexpectedErrorFault

The UnexpectedErrorFault is returned if an unexpected Error occurs.

See Also

ITcAdsServiceDuplex Interface | ITcAdsServiceDuplex Interface | ITcAdsServiceCallbacks Interface