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.

有帮助吗?

解决方案

It's not possible. Svcutil can't generate partial asynchronous proxies.

Source

其他提示

/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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top