Share via


ContentByQueryWebPartException Constructor (String)

Initializes a new instance of a ContentByQueryWebPartException class with a specified message string.

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

  • message
    Type: System.String
    A string containing a message that describes the error.

See Also

Reference

ContentByQueryWebPartException Class

ContentByQueryWebPartException Members

ContentByQueryWebPartException Overload

Microsoft.SharePoint.Publishing.WebControls Namespace