ResultValue2.I, V. Class

Result object of an asynchronous read. Implements the ResultAccess

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.ResultAds
    TwinCAT.Ads.ResultValue.V.
      TwinCAT.Ads.ResultValue2.I, V.
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public class ResultValue2<I, V> : ResultValue<V>

Type Parameters

I

The SymbolID / AddressInformation bound to the value.

V

The type of the read Value.

The ResultValue2.I, V. 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.)

Source

Gets the source of the value (symbolic specifier/Address).

Succeeded

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

Value

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

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

Reference

TwinCAT.Ads Namespace

TwinCAT.ValueAccess.ResultAccess