سؤال

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