OPCDA.NET Reference Manual
RefreshGroup Constructor(OpcServer,DataChangeEventHandler)
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > RefreshGroup Class > RefreshGroup Constructor : RefreshGroup Constructor(OpcServer,DataChangeEventHandler)

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
dChgHnd
IN: call back handler delegate

Glossary Item Box

Constuctor creates the associated OPC group with an update rate of 500ms and the base of the internal cache.
The user specified callback handler is installed in place of the internal handler. This disables the RefreshGroup cache update handling. The user handler has to do all required handling of the callback data.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal srv As OpcServer, _
   ByVal dChgHnd As DataChangeEventHandler _
)
C# 
public RefreshGroup( 
   OpcServer srv,
   DataChangeEventHandler dChgHnd
)

Parameters

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
dChgHnd
IN: call back handler delegate

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.