The requests are queued and handled in a background thread in order to prevent the application being blocked and being unresponsive due to long execution times or long timeouts in case of COM or network issues.
This class can only be used from classes that derive from either the System.Windows.Forms.Form or the WPF System.Windows.Window classes. The completion notification with the browse result is synchronized with the user interface thread by internally calling BeginInvoke().
Each server access is timeout checked. On timeout the 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 BGServer |
C# | |
---|---|
public class BGServer |
System.Object
OPCDA.NET.BGServer