EasyUA Reference
BeginWriteAttribute(WriteValue,AsyncCallback,Object) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > Session Class > BeginWriteAttribute Method : BeginWriteAttribute(WriteValue,AsyncCallback,Object) Method

nodeToWrite
List of nodes and attributes to write.
callback
The callback to use when the async call completes.
userData
The user data that is passed to the callback.

Glossary Item Box

Writes attributes asynchronously to a OPC UA server.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As Session
Dim nodeToWrite As WriteValue
Dim callback As AsyncCallback
Dim userData As Object
Dim value As IAsyncResult
 
value = instance.BeginWriteAttribute(nodeToWrite, callback, userData)
C# 
public IAsyncResult BeginWriteAttribute( 
   WriteValue nodeToWrite,
   AsyncCallback callback,
   object userData
)

Parameters

nodeToWrite
List of nodes and attributes to write.
callback
The callback to use when the async call completes.
userData
The user data that is passed to the callback.

Return Value

An object which must be passed to the EndWrite method.

Remarks

The Write Service is used to write one or more attributes of one or more nodes. For the Value Attribute the Write rights are indicated by the AccessLevel and UserAccessLevel Attribute of the Variable.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.