Issue converting SDK's asynchronous methods from APM to TAP

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

Moderator: uasdknet

Post Reply
User avatar
Support Team
Hero Member
Hero Member
Posts: 3071
Joined: 18 Mar 2011, 15:09

Re: Issue converting SDK's asynchronous methods from APM to

Post by Support Team »

Hello,

We could not reproduce the described issue. In our tests we measured similar times for the synchronous method call and for waiting for the generated task. Please post your code to create the task.
Best regards
Unified Automation Support Team

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

Re: Issue converting SDK's asynchronous methods from APM to

Post by Support Team »

Hello spoo550,

please try without the TaskCreationOptions.AttachedToParent option.
There is a separate timer used to implement the timeout. If .NET is confused by this it may be blocking until the timer expires.
Best regards
Unified Automation Support Team

Post Reply