ResultAccess Class

Result class for an asynchronous access operation.

Inheritance Hierarchy

SystemObject
  TwinCAT.ValueAccessResultAccess
    TwinCAT.ValueAccessResultHandleAccess
    TwinCAT.ValueAccessResultReadValueAccessT
    TwinCAT.ValueAccessResultWriteAccess

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

Syntax

C#

public class ResultAccess

The ResultAccess type exposes the following members.

Constructors

 

Name

Description

ResultAccess Class 1:

ResultAccess(Int32, UInt32)

Initializes a new instance of the ResultAccess class.

ResultAccess Class 2:

ResultAccess(Int32, DateTimeOffset, UInt32)

Initializes a new instance of the ResultReadValueAccess struct.

Properties

 

Name

Description

ResultAccess Class 3:

ErrorCode

The ErrorCode of the communication access

ResultAccess Class 4:

Failed

Gets a value indicating whether this ResultAccess represents a failed access.

ResultAccess Class 5:

InvokeId

Gets the invoke identifier (optionally) or 0

ResultAccess Class 6:

Succeeded

Gets a value indicating whether this ResultAccess represents a succeeded access.

ResultAccess Class 7:

TimeStamp

The Timestamp / the date time of the communication access.

Methods

 

Name

Description

ResultAccess Class 8:

Equals

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

ResultAccess Class 9:

Finalize

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

ResultAccess Class 10:

GetHashCode

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

ResultAccess Class 11:

GetType

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

ResultAccess Class 12:

MemberwiseClone

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

ResultAccess Class 13:

SetError

Sets the error to this ResultAccess object.

ResultAccess Class 14:

ToString

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

Remarks

This result is independent of any used protocol and is used by the different protocol providers (ADS, OPC, IOT etc.)

Reference

TwinCAT.ValueAccess Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026