OPC Studio User's Guide and Reference
GetMultiplePropertyValues Method (IEasyDAClientExtension)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > IEasyDAClientExtension Class : GetMultiplePropertyValues Method
Gets values of multiple OPC properties of a specified OPC item.

This method does not throw an exception in case of OPC operation failures. Instead, the eventual exception related to each property is returned in Exception property of each returned OpcLabs.BaseLib.OperationModel.ValueResult element.

.NET

.NET

Overload List
OverloadDescription
Gets values of multiple OPC properties of a specified OPC item. Gets values of multiple OPC properties, using descriptor objects for the OPC server and node, and specifying an array of property descriptors.  
Gets values of multiple OPC properties of a specified OPC item. Gets values of multiple OPC properties, using descriptor objects for the OPC server and property, and specifying an array of node descriptors.  
Gets values of multiple OPC properties of a specified OPC item. Gets values of multiple OPC properties, using descriptor object for the OPC server, and a node descriptor.  
Gets values of multiple OPC properties of a specified OPC item. Gets values of multiple OPC properties, using individual parameters specifying the OPC server, and OPC Item ID.  
Remarks

 

This is a multiple-operation method. In a properly written program, it does not throw any exceptions. You should therefore not put try/catch statements or similar constructs around calls to this method. The only exceptions thrown by this method are for usage errors, i.e. when your code violates the usage contract of the method, such as passing in invalid arguments or calling the method when the state of the object does not allow it. Any operation-related errors (i.e. errors that depend on external conditions that your code cannot reliably check) are indicated in the result objects returned by the method. For more information, see Multiple-operation Methods and Do not catch any exceptions with asynchronous or multiple-operation methods.
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