ResultReadBytes Class

ADS Task Result returning Read data for async Read operations.

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultRead
      TwinCAT.AdsResultReadBytes
        TwinCAT.AdsResultReadWriteBytes

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

Syntax

C#

public class ResultReadBytes : ResultRead

The ResultReadBytes type exposes the following members.

Properties

 

Name

Description

ResultReadBytes Class 1:

Data

The read bytes as continuous region of memory.

ResultReadBytes Class 2:

ResultReadBytes Class 3:

Empty

Gets the empty ResultReadBytes object.

ResultReadBytes Class 4:

ErrorCode

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

ResultReadBytes Class 5:

Failed

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

ResultReadBytes Class 6:

InvokeId

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

ResultReadBytes Class 7:

ReadBytes

Gets the number of Read bytes.
(Inherited from ResultRead)

ResultReadBytes Class 8:

Succeeded

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

ResultReadBytes Class 9:

TimeStamp

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

Methods

 

Name

Description

ResultReadBytes Class 10:

CreateError(AdsErrorCode)

Creates an error result.

ResultReadBytes Class 11:

CreateError(AdsErrorCode, UInt32)

Creates an error result.

ResultReadBytes Class 12:

CreateSuccess(ReadOnlyMemoryByte)

Creates a success result.

ResultReadBytes Class 13:

CreateSuccess(ReadOnlyMemoryByte, UInt32)

Creates a success result.

ResultReadBytes Class 14:

Equals

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

ResultReadBytes Class 15:

Finalize

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

ResultReadBytes Class 16:

GetHashCode

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

ResultReadBytes Class 17:

GetType

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

ResultReadBytes Class 18:

MemberwiseClone

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

ResultReadBytes Class 19:

SetError

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

ResultReadBytes Class 20:

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