ResultSymbolsT Class

Class representing the asynchronous result of reading a symbol enumeration of type IEnumerableT via ADS. Implements the ResultValueTValue

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultValueT
      TwinCAT.TypeSystemResultSymbolsT
        TwinCAT.TypeSystemResultDynamicSymbols
        TwinCAT.TypeSystemResultSymbols

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

Syntax

C#

public class ResultSymbols<T> : ResultValue<T>
where T : class, Object, IEnumerable<ISymbol>

Type Parameters

T

The type parameter is an IEnumerableT.

The ResultSymbolsT type exposes the following members.

Properties

 

Name

Description

ErrorCode

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

Failed

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

InvokeId

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

Succeeded

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

Symbols

Get the Symbols enumerable (T) as result of an asynchronous operation.

TimeStamp

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

Value

The value object.
(Inherited from ResultValueTValue)

Methods

 

Name

Description

Equals

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

Finalize

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

GetHashCode

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

GetType

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

MemberwiseClone

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

SetError

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

ToString

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

Fields

 

Name

Description

timeStamp

The timestamp
(Inherited from ResultAds)

Remarks

This result class is used to return generic Symbol instances. in an enumerable class. The value/result of the completed operation can be returned by the Symbols property.

Reference

TwinCAT.TypeSystem Namespace ResultValueTValue

Beckhoff Automation GmbH & Co. KG 2001-2026