What is the usage of SoapHttpClientProtocol.InvokeAsync?

  • Thread starter Thread starter Morgan Cheng
  • Start date Start date
M

Morgan Cheng

For web service client, we use SoapHttpClientProtocol. There is
BeginInvoke/EndInvoke methods defined in this class, and a method
InvokeAsync. The argument list is same as BeginInvoke, but the return
value type is void, not IAsyncResult. So, how can I get result of the
webmethod? If not, does it mean this method is only useful for
webmethod without output?

SoapHttpClientProtocol.InvokeAsync (String, Object[],
SendOrPostCallback) Invokes the specified method asynchronously.
SoapHttpClientProtocol.InvokeAsync (String, Object[],
SendOrPostCallback, Object) Invokes the specified method
asynchronously.


Thanks & Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top