Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate async method with svcutil?

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.

like image 287
Saint Avatar asked Sep 18 '25 10:09

Saint


2 Answers

/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

like image 59
Andriy Zakharko Avatar answered Sep 21 '25 02:09

Andriy Zakharko


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

Source

like image 45
ken2k Avatar answered Sep 21 '25 01:09

ken2k