ResultWrite Class

Result for asynchronous ADS write tasks.

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultWrite

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

Syntax

C#

public class ResultWrite : ResultAds

The ResultWrite type exposes the following members.

Properties

 

Name

Description

ResultWrite Class 1:

ResultWrite Class 2:

Empty

Gets the empty ResultWrite object.

ResultWrite Class 3:

ErrorCode

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

ResultWrite Class 4:

Failed

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

ResultWrite Class 5:

InvokeId

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

ResultWrite Class 6:

Succeeded

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

ResultWrite Class 7:

TimeStamp

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

Methods

 

Name

Description

ResultWrite Class 8:

CreateError(AdsErrorCode)

Creates an error result;

ResultWrite Class 9:

CreateError(AdsErrorCode, UInt32)

Creates an error result;

ResultWrite Class 10:

CreateSuccess

Creates a sucess result.

ResultWrite Class 11:

CreateSuccess(UInt32)

Creates a sucess result.

ResultWrite Class 12:

Equals

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

ResultWrite Class 13:

Finalize

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

ResultWrite Class 14:

GetHashCode

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

ResultWrite Class 15:

GetType

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

ResultWrite Class 16:

MemberwiseClone

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

ResultWrite Class 17:

SetError

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

ResultWrite Class 18:

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