Share via


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