Available in the OPCDA.NET Professional Edition only.
Write a set of items by executing an asynchronous write call in a background thread of the BGGroup class. The call returns immediately after the request is queued. The success of the write call is reported in the completion event handler arguments. Complete failure is indicated in the exception argument. Error writing certain items are reported in the Error field of the rslt object.
Syntax
Parameters
- values
- Array of item identifiers. ItemDefinitionSets defined in the Visual Studio Designer
can be used as the as the argument. Only the value to be written needs to be modified in the DAItemValue objects.
- tag
- This object is passed to the competion handler and allows the user to pass
any information that may be needed in the completion handler. Nothing (null) can be specified if
the application does not require to pass any information.
- onCompleted
- Competion notification handler.
void xxx(BGException ex, DAItemValue[] rslt, object tag){}
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x
See Also