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

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
UserHnd
IN: Optional RefreshEventHandler for DataChanged, ReadComplete and WriteComplete callbacks. Otherwise null (Nothing)

Glossary Item Box

Constuctor creates the associated OPC group with an update rate of 500ms and the base of the internal cache. The optional user specified call back handler is called from the internal datacallback and readcomplete event handlers.

Syntax

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

Parameters

srv
IN: OPCServer object of the owner server.
The server reference is stored and used in subsequent read/write calls.
UserHnd
IN: Optional RefreshEventHandler for DataChanged, ReadComplete and WriteComplete callbacks. Otherwise null (Nothing)

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.