asynchronous method calls

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
richmont
Jr. Member
Jr. Member
Posts: 4
Joined: 17 Nov 2016, 08:19

asynchronous method calls

Post by richmont »

Hi,

I am searching for a way to handle method calls asynchronously like the overriding of Read and Write methods in the NodeManager.
I've been searching the documentation and examples the whole day and did not found a possible solution.

Did I miss something?
Or is it just not pssible by design?

Thanks in advance
richmont

User avatar
Support Team
Hero Member
Hero Member
Posts: 3073
Joined: 18 Mar 2011, 15:09

Re: asynchronous method calls

Post by Support Team »

Hello Richmont,

UA Method are queued to the ApplicationThreadPool. So asynchronous method calls are not needed. This is by design.

However if you want to process the method asynchronously you can override
FinishCallTransaction. You can cast the argument transaction to CallTransactionHandle to get access to the methods. Then you can process the method calls and call the transaction callback.
Best regards
Unified Automation Support Team

Post Reply