ResultValue.TValue. Constructor (AdsErrorCode, TValue)

Initializes a new instance of the ResultValue class.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.116+a71ced3

Syntax

C#

public ResultValue(
    AdsErrorCode errorCode,
    TValue value
)

Parameters

errorCode

Type: TwinCAT.Ads.AdsErrorCode
The error code.

value

Type: TValue
The value.

Reference

ResultValue.TValue. Class

ResultValue.TValue. Overload

TwinCAT.Ads Namespace