I am trying to access the items of a list that crossed the 5000 limit through C# CSOM. But the list throws an exception as:
The attempted operation is prohibited as the list crossed the threshold limit.
This is the code I'm using. How do I have to modify it, to retrieve the items?
string siteUrl = "URL of site";
ClientContext SourceclientContext = new ClientContext(siteUrl);
List Sourcelist = SourceclientContext.Web.Lists.GetByTitle("List Title");
CamlQuery query = new CamlQuery();query.ViewXml = "<View/>";
ListItemCollection listItemCollection = Sourcelist.GetItems(query);
SourceclientContext.Load(listItemCollection);
SourceclientContext.ExecuteQuery();