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

itemHandle
The item handle as specified in the AddMethod() call.
objectId
The identifier of the owner node as specified in the 1st argument of the AddMethod() call.
inputArguments
The input arguments in the order specified in AddMethod()
outputArguments
The results in the order specified in AddMethod(). On call the array is allocated to the defined number of result objects.

Glossary Item Box

Method call event handler. This method is invoked when a UA client calls a UA Method.

Syntax

Visual Basic (Declaration) 
Public Delegate Function MethodCalledEventHandler( _
   ByVal itemHandle As Object, _
   ByVal objectId As String, _
   ByVal inputArguments() As Object, _
   ByVal outputArguments() As Object _
) As Integer
C# 
public delegate int MethodCalledEventHandler( 
   object itemHandle,
   string objectId,
   object[] inputArguments,
   object[] outputArguments
)

Parameters

itemHandle
The item handle as specified in the AddMethod() call.
objectId
The identifier of the owner node as specified in the 1st argument of the AddMethod() call.
inputArguments
The input arguments in the order specified in AddMethod()
outputArguments
The results in the order specified in AddMethod(). On call the array is allocated to the defined number of result objects.

Return Value

HRESULT 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.