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 |
---|---|---|
|
Initializes a new instance of the ResultRpcMethod struct. |
Properties
|
Name |
Description |
---|---|---|
|
Gets the Empty Result (initialized to None and default ReturnValue (NULL). | |
|
Gets the ADS Error code bound to this Result object. (Inherited from ResultAds.) | |
|
Gets a value indicating whether the ResultAds state is failed. (Inherited from ResultAds.) | |
|
Gets the ADS requests invoke identifier (or 0 if not supported) (Inherited from ResultAds.) | |
|
Gets the output parameter values. | |
|
The (optional) return value of the RPC Method. | |
|
Gets a value indicating whether the ResultAds state is succeeded. (Inherited from ResultAds.) |
Methods
|
Name |
Description |
---|---|---|
|
Creates an error result. | |
|
Creates a success result | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Sets the error state of this ResultAds (Inherited from ResultAds.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |