How to generate async method with svcutil?
-
18-06-2021 - |
Question
Is it possible generate async ServiceOperation
only for one method by svcutil?
I know I can add /async
parameter but then it generates all methods in async pattern.
Solution
It's not possible. Svcutil can't generate partial asynchronous proxies.
OTHER TIPS
/async option allows you to generate both synchronous and asynchronous method signatures. Default: generate only synchronous method signatures. There is no possablilty to specify particular contract. But this may be helpful for you
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow