Visual Basic (Usage) | ![]() |
---|---|
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.
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.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x