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,
 
Back
Top