ResultDataTypes Class

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

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.ResultAds
    TwinCAT.Ads.ResultValue.IDataTypeCollection.IDataType..
      TwinCAT.TypeSystem.ResultDataTypes
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

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:

Value

The value object. (Inherited from ResultValue.TValue..)

Methods

 

Name

Description

ResultDataTypes Class 8:

CreateError

Creates an error result.

ResultDataTypes Class 9:

CreateSuccess

Creates a success result

ResultDataTypes Class 10:

Equals

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

ResultDataTypes Class 11:

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 12:

GetHashCode

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

ResultDataTypes Class 13:

GetType

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

ResultDataTypes Class 14:

MemberwiseClone

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

ResultDataTypes Class 15:

SetError

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

ResultDataTypes Class 16:

ToString

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

Remarks

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

Reference

TwinCAT.TypeSystem Namespace

TwinCAT.Ads.ResultValue.TValue.