ResultValueTValue Class
ADS Result object returning a generic value result (TValue) (asynchronous read). Implements the ResultAds
Inheritance Hierarchy
SystemObject
TwinCAT.AdsResultAds
TwinCAT.AdsResultValueTValue
TwinCAT.AdsResultAnyValue
TwinCAT.AdsResultValue2I, V
TwinCAT.TypeSystemResultDataTypes
TwinCAT.TypeSystemResultSymbolsT
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class ResultValue<TValue> : ResultAdsType Parameters
|
TValue |
The type of the result value. |
The ResultValueTValue type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the Empty result initialized to NoError and the default of TValue. | |
|
|
Gets the ADS Error code bound to this Result object. | |
|
|
Gets a value indicating whether the ResultAds state is
failed. | |
|
|
Gets the ADS requests invoke identifier (or 0 if not
supported) | |
|
|
Gets a value indicating whether the ResultAds state is
succeeded. | |
|
|
Gets the time stamp of the result. | |
|
|
The value object. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Creates an Error Result. | |
|
|
Creates a success result. | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Sets the error state of this ResultAds | |
|
|
Returns a string that represents the current object. |
Remarks
The ResultValueTValue type is used in generic ADS read operations, where a value is returned.