Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Session Dim nodeToWrite As WriteValue Dim settings As RequestSettings Dim callback As AsyncCallback Dim userData As Object Dim value As IAsyncResult value = instance.BeginWriteAttribute(nodeToWrite, settings, callback, userData) |
C# | |
---|---|
public IAsyncResult BeginWriteAttribute( WriteValue nodeToWrite, RequestSettings settings, AsyncCallback callback, object userData ) |
Parameters
- nodeToWrite
- List of nodes and attributes to write.
- settings
- The general settings for the request. If null, the default settings from the property DefaultRequestSettings are used.
- 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