0

I've been messing around with the SharePoint List web service and I came across an event called UpdateListCompleted.

enter image description here

I thought this might be of some use for the project I am working on so I hopped onto MSDN's site hoping to learn a little more about this event. I've come to expect piss poor documentation from MSDN, but I was surprised to find that their documentation doesn't even acknowledge that this event exists.

Googgling didn't turn up anything useful, so I'm wondering if anyone here has any info on this?

1 Answer 1

0

I believe it's the async callback for the UpdateListAsync() method.

Similar to the code in this post for the UpdateListItemsAsync() method:

http://neeleshkalani.wordpress.com/2009/08/26/sharepointlistoperationsfromsilvelight1/

From MSDN:

public void SaveItemAsync(T item)
{
...
ListsSoapClient service = CreateListsService();
service.UpdateListItemsCompleted += new EventHandler<UpdateListItemsCompletedEventArgs>(service_UpdateListItemsCompleted);
service.UpdateListItemsAsync(ListName, batch);
}

void service_UpdateListItemsCompleted(object sender, UpdateListItemsCompletedEventArgs e)
{
...
}

http://msdn.microsoft.com/en-us/library/hh537940.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.