ResultDataTypes Class

Class representing the asynchronous result of reading a IDataTypeCollection via ADS. Implements the ResultValueTValue

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultValueIDataTypeCollectionIDataType
      TwinCAT.TypeSystemResultDataTypes

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

Syntax

C#

public class ResultDataTypes : ResultValue<IDataTypeCollection<IDataType>>

The ResultDataTypes type exposes the following members.

Constructors

 

Name

Description

ResultDataTypes Class 1:

ResultDataTypes

Initializes a new instance of the ResultDataTypes class.

Properties

 

Name

Description

ResultDataTypes Class 2:

DataTypes

Gets the data types.

ResultDataTypes Class 3:

ErrorCode

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

ResultDataTypes Class 4:

Failed

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

ResultDataTypes Class 5:

InvokeId

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

ResultDataTypes Class 6:

Succeeded

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

ResultDataTypes Class 7:

TimeStamp

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

ResultDataTypes Class 8:

Value

The value object.
(Inherited from ResultValueTValue)

Methods

 

Name

Description

ResultDataTypes Class 9:

CreateError

Creates an error result.

ResultDataTypes Class 10:

CreateSuccess

Creates a success result

ResultDataTypes Class 11:

Equals

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

ResultDataTypes Class 12:

Finalize

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

ResultDataTypes Class 13:

GetHashCode

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

ResultDataTypes Class 14:

GetType

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

ResultDataTypes Class 15:

MemberwiseClone

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

ResultDataTypes Class 16:

SetError

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

ResultDataTypes Class 17:

ToString

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

Fields

 

Name

Description

timeStamp

The timestamp
(Inherited from ResultAds)

Remarks

The Result value of this operation can be accessed by the DataTypes property.

Reference

TwinCAT.TypeSystem Namespace ResultValueTValue

Beckhoff Automation GmbH & Co. KG 2001-2026