How to generate async method with svcutil?
-
18-06-2021 - |
سؤال
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.
نصائح أخرى
/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
لا تنتمي إلى StackOverflow