ResultAds Class
Base class for an (asynchronous) ADS Task Result
Inheritance Hierarchy
System.Object
TwinCAT.Ads.ResultAds
More...
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public class ResultAds
The 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. |
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. (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 | |
|
Returns a string that represents the current object. (Inherited from 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.
Inheritance Hierarchy
System.Object
TwinCAT.Ads.ResultAds
TwinCAT.Ads.ResultDeviceInfo
TwinCAT.Ads.ResultHandle
TwinCAT.Ads.ResultRead
TwinCAT.Ads.ResultReadAdsState
TwinCAT.Ads.ResultReadDeviceState
TwinCAT.Ads.ResultRpcMethod
TwinCAT.Ads.ResultValue.TValue.
TwinCAT.Ads.ResultWrite
TwinCAT.Ads.ResultWriteControl
TwinCAT.Ads.SumCommand.ResultSumCommand