IAdsStateProvider Methods

The IAdsStateProvider type exposes the following members.

Methods

 

Name

Description

IAdsStateProvider Methods 1:

ReadState

Reads the ADS status and the device status from an ADS server.

IAdsStateProvider Methods 2:

ReadStateAsync

Reads the ADS status and the device status from an ADS server.

IAdsStateProvider Methods 3:

RegisterAdsStateChangedAsync

Registers for AdsStateChanged events as an asynchronous operation.

IAdsStateProvider Methods 4:

TryReadState

Reads the ADS status and the device status from an ADS server. Unlike the ReadState method this method does not call an exception on failure. Instead an AdsErrorCode is returned. If the return value is equal to AdsErrorCode.NoError the call was successful.

IAdsStateProvider Methods 5:

UnregisterAdsStateChangedAsync

Registers for AdsStateChanged events as an asynchronous operation.

Reference

IAdsStateProvider Interface

TwinCAT.Ads Namespace