How to generate async method with svcutil?
-
18-06-2021 - |
Frage
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.
Lösung
It's not possible. Svcutil can't generate partial asynchronous proxies.
Andere Tipps
/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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow