ConnectionStateExtension Class

Class ConnectionStateExtension.

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.Extensions.ConnectionStateExtension
Namespace:  TwinCAT.Ads.Extensions
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public static class ConnectionStateExtension

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

TwinCAT.Ads.Extensions Namespace