ResultNotificationHandle Class

Result object for asynchronous registering an ADS Handle via tasks.

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultNotificationHandle

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

Syntax

C#

public class ResultNotificationHandle : ResultAds

The ResultNotificationHandle type exposes the following members.

Properties

 

Name

Description

Empty

Gets the empty ResultHandle object.

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)

NotificationHandle

Gets the registered Notification handle (usually client-side)

Succeeded

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

SymbolHandle

Gets the registered Symbol/Variable handle

TimeStamp

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

Methods

 

Name

Description

CreateError(AdsErrorCode)

Creates an Error Result.

CreateError(AdsErrorCode, UInt32)

Creates an Error Result.

CreateSuccess(UInt32, UInt32)

Creates a success result.

CreateSuccess(UInt32, UInt32, UInt32)

Creates a success result.

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)

Operators

 

Name

Description

(ResultNotificationHandle to ResultHandle)

Performs an explict conversion from ResultNotificationHandle to ResultHandle.

Fields

 

Name

Description

timeStamp

The timestamp
(Inherited from ResultAds)

Reference

TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026