ConnectionStateExtension Methods

The ConnectionStateExtension type exposes the following members.

Methods

 

Name

Description

PollAdsState(IAdsConnection, IObservable.Unit.)

Gets an observable sequence of ResultReadAdsStates via Polling.

PollAdsState(IAdsConnection, TimeSpan)

Gets an observable sequence of ResultReadAdsStates via Polling.

PollAdsStateAsync(IAdsConnection, IObservable.Unit., CancellationToken)

Gets an observable sequence of AdsStates via Polling.

PollAdsStateAsync(IAdsConnection, TimeSpan, CancellationToken)

Gets an observable sequence of AdsStates via Polling.

SetAdsState

Sets an AdsState/AdsStateCommand to an AdsServer and waits until the StateChange finishes.

SetAdsStateAsync

Sets an AdsState/AdsStateCommand to an AdsServer and waits until the StateChange finishes.

Reference

ConnectionStateExtension Class

TwinCAT.Ads.Extensions Namespace