ResultAnyValue Class

Result object for asynchronous reading an 'AnyValue'/Primitive Value via tasks.

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultValueObject
      TwinCAT.AdsResultAnyValue

Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public class ResultAnyValue : ResultValue<Object>

The ResultAnyValue type exposes the following members.

Properties

 

Name

Description

ResultAnyValue Class 1:

ResultAnyValue Class 2:

Empty

Gets the empty ResultAnyValue object.

ResultAnyValue Class 3:

ErrorCode

Gets the ADS Error code bound to this Result object.
(Inherited from ResultAds)

ResultAnyValue Class 4:

Failed

Gets a value indicating whether the ResultAds state is failed.
(Inherited from ResultAds)

ResultAnyValue Class 5:

InvokeId

Gets the ADS requests invoke identifier (or 0 if not supported)
(Inherited from ResultAds)

ResultAnyValue Class 6:

Succeeded

Gets a value indicating whether the ResultAds state is succeeded.
(Inherited from ResultAds)

ResultAnyValue Class 7:

TimeStamp

Gets the time stamp of the result.
(Inherited from ResultAds)

ResultAnyValue Class 8:

Value

The value object.
(Inherited from ResultValueTValue)

Methods

 

Name

Description

ResultAnyValue Class 9:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

ResultAnyValue Class 10:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

ResultAnyValue Class 11:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

ResultAnyValue Class 12:

GetType

Gets the Type of the current instance.
(Inherited from Object)

ResultAnyValue Class 13:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

ResultAnyValue Class 14:

SetError

Sets the error state of this ResultAds
(Inherited from ResultAds)

ResultAnyValue Class 15:

ToString

Returns a string that represents the current object.
(Inherited from Object)

Fields

 

Name

Description

timeStamp

The timestamp
(Inherited from ResultAds)

Remarks

The Value itself is encapsulated into an 'object'.

Reference

TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026