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

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

Glossary Item Box

Available in the OPCDA.NET Professional Edition only.
The group is added to the OPC server according the settings and the processsing is started. The associated DAServer id Connected if it isn't already. This is the only initailization call necessary to start the processing. The call returns after the request is queued. The processing is handled asynchronously. Completion and errors are reported in the specified completion event handler. If no completion handler is specified then error are reported in the Notification event handler of the associated DAServer object.

Syntax

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

Parameters

tag
User defined data associated with the object.
onCreated
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.