ResultRpcMethod Class

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

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.ResultAds
    TwinCAT.Ads.ResultRpcMethod
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

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

Methods

 

Name

Description

ResultRpcMethod Class 10:

CreateError

Creates an error result.

ResultRpcMethod Class 11:

CreateSuccess

Creates a success result

ResultRpcMethod Class 12:

Equals

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

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

ResultRpcMethod Class 14:

GetHashCode

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

ResultRpcMethod Class 15:

GetType

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

ResultRpcMethod Class 16:

MemberwiseClone

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

ResultRpcMethod Class 17:

SetError

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

ResultRpcMethod Class 18:

ToString

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

Remarks

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

Reference

TwinCAT.Ads Namespace

TwinCAT.Ads.ResultAds