Condividi tramite


SPQueryThrottledException Class

The exception that is thrown when the attempted operation exceeds the list view threshold set by an administrator.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        Microsoft.SharePoint.SPQueryThrottledException

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class SPQueryThrottledException _
    Inherits SPException
'Usage
Dim instance As SPQueryThrottledException
[SerializableAttribute]
public sealed class SPQueryThrottledException : SPException

Remarks

A farm administrator can configure a list view threshold that places a limit on the number of list items that may be included in results returned by a query.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPQueryThrottledException Members

Microsoft.SharePoint Namespace