ResultWriteControl Constructor (AmsAddress, Boolean, AdsErrorCode, AdsStateCommand, AdsState, AdsState, TimeSpan)

Initializes a new instance of the ResultWriteControl class.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

protected ResultWriteControl(
    AmsAddress address,
    bool succeeded,
    AdsErrorCode errorCode,
    AdsStateCommand requested,
    AdsState original,
    AdsState reached,
    TimeSpan latency
)

Parameters

address

Type: TwinCAT.Ads.AmsAddress
The address.

succeeded

Type: System.Boolean
if set to true [succeeded].

errorCode

Type: TwinCAT.Ads.AdsErrorCode
The error code.

requested

Type: TwinCAT.Ads.AdsStateCommand
The requested.

original

Type: TwinCAT.Ads.AdsState
The original.

reached

Type: TwinCAT.Ads.AdsState
The reached.

latency

Type: System.TimeSpan
The latency.

Reference

ResultWriteControl Class

ResultWriteControl Overload

TwinCAT.Ads Namespace