OPC Studio User's Guide and Reference
Result Property (UADataVariableReadEventArgs)



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > UADataVariableReadEventArgs Class : Result Property
The value/timestamps/status code that is the result of the OPC read.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Property Result As UAAttributeData
'Usage
 
Dim instance As UADataVariableReadEventArgs
Dim value As UAAttributeData
 
instance.Result = value
 
value = instance.Result
[NotNull()]
public UAAttributeData Result {get; set;}
[NotNull()]
public:
property UAAttributeData^ Result {
   UAAttributeData^ get();
   void set (    UAAttributeData^ value);
}

Property Value

The attribute data, including the value, timestamps, and status code from the read operation.

The value of this property cannot be null (Nothing in Visual Basic).

Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

This property encapsulates the result of an OPC UA read operation, providing access to the data value, its associated timestamps, and the status code indicating the outcome of the read operation. It is used for accessing the read results within event handlers.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also