OPCDA.NET Reference Manual
BGGroup Class
Members  See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace : BGGroup Class

Glossary Item Box

The BGGroup class handles the server access for data changed subscriptions and read/write operations. It's available in the OPCDA.NET Professional Edition only.
The server access is executed in a background thread to prevent the user interface thread becoming unresponsive while waiting for a server response.
For data change callbacks to happen the BGGroup has to be in active state. Read an Write operations are independent of the active state of the group.

This class does not have a public constructor. Instances are created by calling the BGServer.AddGroup method.
This class can only be used from classes that derive from System.Windows.Forms.Form. The completion notification with the results is synchronized with the user interface thread by internally calling Form.BeginInvoke().

Each server access is timeout checked. On timeout the BGServer GeneralError handler is called to inform the user application. The server access thread may continue to wait for the server call to finish or timeout. Further requests are not being handled before this happens.

Object Model

BGGroup ClassOpcGroup Class

Syntax

Visual Basic (Declaration) 
Public Class BGGroup 
C# 
public class BGGroup 

Inheritance Hierarchy

System.Object
   OPCDA.NET.BGGroup

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.