ResultReadDeviceState Class

Result object for asynchronous ADS ReadDeviceState tasks.

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultReadDeviceState

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

Syntax

C#

public class ResultReadDeviceState : ResultAds

The ResultReadDeviceState type exposes the following members.

Properties

 

Name

Description

ResultReadDeviceState Class 1:

ResultReadDeviceState Class 2:

Empty

Gets the empty ResultReadDeviceState object.

ResultReadDeviceState Class 3:

ErrorCode

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

ResultReadDeviceState Class 4:

Failed

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

ResultReadDeviceState Class 5:

InvokeId

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

ResultReadDeviceState Class 6:

State

The Device state.

ResultReadDeviceState Class 7:

Succeeded

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

ResultReadDeviceState Class 8:

TimeStamp

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

Methods

 

Name

Description

ResultReadDeviceState Class 9:

CreateError(AdsErrorCode)

Creates an Error Result.

ResultReadDeviceState Class 10:

CreateError(AdsErrorCode, UInt32)

Creates an Error Result.

ResultReadDeviceState Class 11:

CreateSuccess(StateInfo)

Creates a success result.

ResultReadDeviceState Class 12:

CreateSuccess(StateInfo, UInt32)

Creates a success result.

ResultReadDeviceState Class 13:

Equals

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

ResultReadDeviceState Class 14:

Finalize

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

ResultReadDeviceState Class 15:

GetHashCode

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

ResultReadDeviceState Class 16:

GetType

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

ResultReadDeviceState Class 17:

MemberwiseClone

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

ResultReadDeviceState Class 18:

SetError

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

ResultReadDeviceState Class 19:

ToString

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

Fields

 

Name

Description

timeStamp

The timestamp
(Inherited from ResultAds)

Reference

TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026