Today I am testing how multi threading will improve performance on different Sharepoint tasks
So the first thing to remember is, that SPSite and SPWeb are not thread safe and therefore have to create new instance of them in each Thread or there will be Sharepoint Exception
Microsoft.SharePoint.SPException: Attempted to make calls on more than one thread in single threaded mode.
No comments:
Post a Comment