EasyUA Reference
BeginCall(NodeId,NodeId,AsyncCallback,Object,List<Object>) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > Session Class > BeginCall Method : BeginCall(NodeId,NodeId,AsyncCallback,Object,List<Object>) Method

objectId
The NodeId of the object that provides the method.
methodId
The NodeId of the method to call.
callback
The callback to use when the async call completes.
userData
The user data that is passed to the callback.
args
The input arguments in a list.

Glossary Item Box

Asynchronously calls the specified method and returns the output arguments.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As Session
Dim objectId As NodeId
Dim methodId As NodeId
Dim callback As AsyncCallback
Dim userData As Object
Dim args As List(Of Object)
Dim value As IAsyncResult
 
value = instance.BeginCall(objectId, methodId, callback, userData, args)

Parameters

objectId
The NodeId of the object that provides the method.
methodId
The NodeId of the method to call.
callback
The callback to use when the async call completes.
userData
The user data that is passed to the callback.
args
The input arguments in a list.

Return Value

An object which must be passed to the EndCall method.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.