OPCDA.NET Reference Manual
Read(Int32[],Object,OnBGGrpRead) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > BGGroup Class > Read Method : Read(Int32[],Object,OnBGGrpRead) Method

serverHandles
Array of server handles as they were returned in previous AddItems calls.
tag
This object is passed to the competion handler and allows the user to pass any information that may be needed in the completion handler. Nothing (null) can be specified if the application does not require to pass any information.
onCompleted
Completion notification handler. void xxx( BGException ex, int[] requestErrors, OPCItemState[] rslt, object tag ){}

Glossary Item Box

Available in the OPCDA.NET Professional Edition only.
Read a set of items with the items identified by the server handle that was returned in a previous AddItems call.
The item values are read by executing an asynchronous read and returned to the user as an argument of the completion handler.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Read( _
   ByVal serverHandles() As Integer, _
   ByVal tag As Object, _
   ByVal onCompleted As OnBGGrpRead _
) 
C# 
public void Read( 
   int[] serverHandles,
   object tag,
   OnBGGrpRead onCompleted
)

Parameters

serverHandles
Array of server handles as they were returned in previous AddItems calls.
tag
This object is passed to the competion handler and allows the user to pass any information that may be needed in the completion handler. Nothing (null) can be specified if the application does not require to pass any information.
onCompleted
Completion notification handler. void xxx( BGException ex, int[] requestErrors, OPCItemState[] rslt, object tag ){}

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.