Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Session Dim objectId As NodeId Dim methodId As NodeId Dim callback As AsyncCallback Dim userData As Object Dim args() As Object Dim value As IAsyncResult value = instance.BeginCall(objectId, methodId, callback, userData, args) |
C# | |
---|---|
public IAsyncResult BeginCall( NodeId objectId, NodeId methodId, AsyncCallback callback, object userData, params object[] 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.
Return Value
An object which must be passed to the EndCall method.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x