uaPLUS Reference
onPlgAddMethod Delegate
See Also  Send Feedback
I_MethodsPlugin Namespace : onPlgAddMethod Delegate

itemID
The identifier of the node the contains the method definition.
methodID
The identifier of the method node.
description
Description of the method.
itemHandle
Optional handle that can be used to identify the instance of the node that holds the method.
inputArguments
The definition of the required input arguments.
outputArguments
The definition of the output arguments (method results).
onCall
The method to be called when a UA client calls the method.

Glossary Item Box

Handler method in the Advosol.uaPLUS.uaPLUS class adds a Method Node including the property nodes that define the input/output arguments.

Syntax

Visual Basic (Declaration) 
Public Delegate Function onPlgAddMethod( _
   ByVal itemID As String, _
   ByVal methodID As String, _
   ByVal description As String, _
   ByVal itemHandle As Object, _
   ByVal inputArguments() As plgArgumentDefinition, _
   ByVal outputArguments() As plgArgumentDefinition, _
   ByVal onCall As MethodCalledEventHandler _
) As Integer

Parameters

itemID
The identifier of the node the contains the method definition.
methodID
The identifier of the method node.
description
Description of the method.
itemHandle
Optional handle that can be used to identify the instance of the node that holds the method.
inputArguments
The definition of the required input arguments.
outputArguments
The definition of the output arguments (method results).
onCall
The method to be called when a UA client calls the method.

Return Value

Success/error code.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.