ContentByQueryWebPartException class

Represents errors that occur during Content By Query Web Part execution.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPartException

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class ContentByQueryWebPartException _
    Inherits Exception
'Usage
Dim instance As ContentByQueryWebPartException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class ContentByQueryWebPartException : Exception

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

ContentByQueryWebPartException members

Microsoft.SharePoint.Publishing.WebControls namespace