Share via


ContentByQueryWebPartException constructor (String)

Initializes a new instance of the ContentByQueryWebPartException class with a specified error message.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New ContentByQueryWebPartException(message)
public ContentByQueryWebPartException(
    string message
)

Parameters

See also

Reference

ContentByQueryWebPartException class

ContentByQueryWebPartException members

ContentByQueryWebPartException overload

Microsoft.SharePoint.Publishing.WebControls namespace