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.
|Visual Basic (Declaration)|
Public Class BGGroup
public class BGGroup