OPCDA.NET-UA
CallUaMethod Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > UA_Wrapper Namespace > Server Class : CallUaMethod Method

objectNodeID
The node identifier (item ID) of the UA node that contains the method node.
methodNodeID
The node identifier (item ID) of the UA method node.
args
Input arguments according the method input parameter definition, in the order and the data type specified.

Glossary Item Box

Execute a call of a UA Method.
The input arguments must specified according the method input parameter definition. in the order and data type

Syntax

Visual Basic (Declaration) 
Public Function CallUaMethod( _
   ByVal objectNodeID As String, _
   ByVal methodNodeID As String, _
   ByVal ParamArray args() As Object _
) As List(Of Object)
C# 
public List<object> CallUaMethod( 
   string objectNodeID,
   string methodNodeID,
   params object[] args
)

Parameters

objectNodeID
The node identifier (item ID) of the UA node that contains the method node.
methodNodeID
The node identifier (item ID) of the UA method node.
args
Input arguments according the method input parameter definition, in the order and the data type specified.

Return Value

List with the results as specified in the method output arguments.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.7.2

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.