ResultRpcMethod Class

Class representing a result of an asynchronous RpcMethod call. Implements the ResultAds

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultAds
    TwinCAT.AdsResultRpcMethod

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

Syntax

C#

public class ResultRpcMethod : ResultAds

The ResultRpcMethod type exposes the following members.

Constructors

 

Name

Description

ResultRpcMethod Class 1:

ResultRpcMethod

Initializes a new instance of the ResultRpcMethod struct.

Properties

 

Name

Description

ResultRpcMethod Class 2:

ResultRpcMethod Class 3:

Empty

Gets the Empty Result (initialized to None and default ReturnValue (NULL).

ResultRpcMethod Class 4:

ErrorCode

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

ResultRpcMethod Class 5:

Failed

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

ResultRpcMethod Class 6:

InvokeId

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

ResultRpcMethod Class 7:

OutValues

Gets the output parameter values.

ResultRpcMethod Class 8:

ReturnValue

The (optional) return value of the RPC Method.

ResultRpcMethod Class 9:

Succeeded

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

ResultRpcMethod Class 10:

TimeStamp

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

Methods

 

Name

Description

ResultRpcMethod Class 11:

CreateError

Creates an error result.

ResultRpcMethod Class 12:

CreateSuccess

Creates a success result

ResultRpcMethod Class 13:

Equals

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

ResultRpcMethod 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)

ResultRpcMethod Class 15:

GetHashCode

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

ResultRpcMethod Class 16:

GetType

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

ResultRpcMethod Class 17:

MemberwiseClone

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

ResultRpcMethod Class 18:

SetError

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

ResultRpcMethod Class 19:

ToString

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

Fields

 

Name

Description

timeStamp

The timestamp
(Inherited from ResultAds)

Remarks

Optionally this Result holds an ReturnValue if the RpcCall is not void.

Reference

TwinCAT.Ads Namespace ResultAds

Beckhoff Automation GmbH & Co. KG 2001-2026