ResultAccess Class
Result class for an asynchronous access operation.
Inheritance Hierarchy
System.Object
TwinCAT.ValueAccess.ResultAccess
TwinCAT.ValueAccess.ResultHandleAccess
TwinCAT.ValueAccess.ResultReadValueAccess.T.
TwinCAT.ValueAccess.ResultWriteAccess
Namespace: TwinCAT.ValueAccess
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public class ResultAccess
The ResultAccess type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the ResultAccess class. | |
|
Initializes a new instance of the ResultReadValueAccess struct. |
Properties
|
Name |
Description |
---|---|---|
|
The Timestamp / the date time of the communication access. | |
|
The ErrorCode of the communication access | |
|
Gets a value indicating whether this ResultAccess represents a failed access. | |
|
Gets the invoke identifier (optionally) or 0 | |
|
Gets a value indicating whether this ResultAccess represents a succeeded access. |
Methods
|
Name |
Description |
---|---|---|
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Sets the error to this ResultAccess object. | |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Remarks
This result is independent of any used protocol and is used by the different protocol providers (ADS, OPC, IOT etc.)