Asynchronous web service

  • Thread starter Thread starter Marty McDonald
  • Start date Start date
M

Marty McDonald

We call a web service with a method called "AddNewRecord". We call that
method asynchronously via the "BeginAddNewRecord" method, specifying one of
our methods as a callback to execute when "AddNewRecord" is done.

The question is this... In our callback method, how can we tell if the
"AddNewRecord" method had a problem or not? I'm not sure that the
IAsyncResult members can help us in this case, I don't think those members
can help if the method is on a web service. Am I wrong, can IAsyncResult
still help us if we do it correctly? Thanks!
Marty
 
When your code returns, call EndAddNewRecord and pass the IAsyncResult.

-Rob Teixeira [MVP]
 
Back
Top