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 : ResultAdsThe 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. | |
|
|
Gets a value indicating whether the ResultAds state is
failed. | |
|
|
Gets the ADS requests invoke identifier (or 0 if not
supported) | |
|
|
Gets the output parameter values. | |
|
|
The (optional) return value of the RPC Method. | |
|
|
Gets a value indicating whether the ResultAds state is
succeeded. | |
|
|
Gets the time stamp of the result. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Creates an error result. | |
|
|
Creates a success result | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Sets the error state of this ResultAds | |
|
|
Returns a string that represents the current object. |
- ResultRpcMethod.Empty Property
- ResultRpcMethod.ReturnValue Property
- ResultAds.ErrorCode Property
- ResultAds.Failed Property
- ResultRpcMethod.OutValues Property
- ResultAds.Succeeded Property
- ResultAds.InvokeId Property
- ResultAds.SetError Method
- ResultRpcMethod.CreateError Method
- ResultRpcMethod.CreateSuccess Method
- ResultRpcMethod.ReturnValue Property