Saint
Saint

Reputation: 5469

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.

Upvotes: 4

Views: 7204

Answers (2)

ken2k
ken2k

Reputation: 49013

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

Source

Upvotes: 2

Andriy Zakharko
Andriy Zakharko

Reputation: 1673

/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

Upvotes: 4

Related Questions