OPCDA.NET Reference Manual
ReConnect Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET.Controls Namespace > DAServer Class : ReConnect Method

tag
User defined data associated with the object.
onIsReconnected
Completion event handler: void xxx( BGException ex, object tag ){}

Glossary Item Box

The application calls this method typically used when server access problems have been detected. The server is disconnected and then reconnected. All DAGroup objects associated with this object are re-created.
The call returns immediately after the request is queued. The request is processed in background threads. The completion event handler is called to report success or failure. If no completion handler is specified (null (Nothing) argument) then failures arer reported in the Notification event handler.

Syntax

Visual Basic (Declaration) 
Public Sub ReConnect( _
   ByVal tag As Object, _
   ByVal onIsReconnected As DaRequestCompleted _
) 
C# 
public void ReConnect( 
   object tag,
   DaRequestCompleted onIsReconnected
)

Parameters

tag
User defined data associated with the object.
onIsReconnected
Completion event handler: void xxx( BGException ex, 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.