ResultAds Class
Base class for an (asynchronous) ADS Task Result
Inheritance Hierarchy
SystemObject
TwinCAT.AdsResultAds
TwinCAT.AdsResultDeviceInfo
TwinCAT.AdsResultHandle
TwinCAT.AdsResultNotificationHandle
TwinCAT.AdsResultRead
TwinCAT.AdsResultReadAdsState
TwinCAT.AdsResultReadDeviceState
TwinCAT.AdsResultRpcMethod
TwinCAT.AdsResultValueTValue
TwinCAT.AdsResultWrite
TwinCAT.Ads.SumCommandResultSumCommand
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class ResultAdsThe ResultAds type exposes the following members.
Constructors
| Name | Description |
|---|---|---|
| Initializes a new instance of the ResultAds class. | |
| Initializes a new instance of the ResultAds class. |
Properties
| Name | Description |
|---|---|---|
| Gets an empty ResultAds initialized to None. | |
| 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 a value indicating whether the ResultAds state is succeeded. | |
| Gets the time stamp of the result. |
Methods
| Name | Description |
|---|---|---|
| Creates an Error Result. | |
| Creates an Error Result. | |
| Creates a success result. | |
| Creates a success result. | |
| Creates a success 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. |
Operators
| Name | Description |
|---|---|---|
| Performs an implicit conversion from ResultAds to ResultAccess. |
Remarks
The base class is used whenever an asynchronous task communicates via ADS and should return its AdsErrorCode within its tasks result.
- ResultAds Class
- ResultAds Constructor
- ResultAds Constructor (AdsErrorCode)
- ResultAds Constructor (AdsErrorCode, UInt32)
- ResultAds.Empty Property
- ResultAds.ErrorCode Property
- ResultAds.Failed Property
- ResultAds.Succeeded Property
- ResultAds.InvokeId Property
- ResultAds.CreateSuccess Method
- ResultAds.CreateSuccess.TValue. Method (TValue)
- ResultAds.SetError Method
- ResultAds.CreateError Method
- ResultAds.CreateError Method (AdsErrorCode)
- ResultAds.CreateError Method (AdsErrorCode, UInt32)
- ResultAds.CreateSuccess Method (UInt32)
- ResultAds.CreateSuccess.TValue. Method (TValue, UInt32)
- ResultAnyValue Class
- ResultDeviceInfo Class
- ResultHandle Class
- ResultRead Class
- ResultReadAdsState Class
- ResultReadDeviceState Class
- ResultRpcMethod Class
- ResultValue.TValue. Class
- ResultWrite Class
- ResultSumCommand Class
- ResultWriteControl Class
- ResultNotificationHandle Class
- ResultValueTValue Class
- ResultAds . Conversion (ResultAds to ResultAccess)