ResultSymbols Class

Class representing the asynchronous result of reading an symbol collection of type ISymbolCollection.T. via ADS. Implements the ResultValue.TValue.

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.ResultAds
    TwinCAT.Ads.ResultValue.ISymbolCollection.ISymbol..
      TwinCAT.TypeSystem.ResultSymbols.ISymbolCollection.ISymbol..
        TwinCAT.TypeSystem.ResultSymbols
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public class ResultSymbols : ResultSymbols<ISymbolCollection<ISymbol>>

The ResultSymbols type exposes the following members.

Constructors

 

Name

Description

ResultSymbols Class 1:

ResultSymbols

Initializes a new instance of the ResultSymbols class.

Properties

 

Name

Description

ResultSymbols Class 2:

ErrorCode

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

ResultSymbols Class 3:

Failed

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

ResultSymbols Class 4:

InvokeId

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

ResultSymbols Class 5:

Succeeded

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

ResultSymbols Class 6:

Symbols

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

ResultSymbols Class 7:

Value

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

Methods

 

Name

Description

ResultSymbols Class 8:

CreateError

Creates an Error Result.

ResultSymbols Class 9:

CreateSuccess

Creates a success result.

ResultSymbols Class 10:

Equals

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

ResultSymbols 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.)

ResultSymbols Class 12:

GetHashCode

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

ResultSymbols Class 13:

GetType

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

ResultSymbols Class 14:

MemberwiseClone

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

ResultSymbols Class 15:

SetError

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

ResultSymbols Class 16:

ToString

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

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

TwinCAT.Ads.ResultValue.TValue.