Share via


InvalidPageLayoutException Constructor (String)

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

Namespace:  Microsoft.SharePoint.Publishing
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 InvalidPageLayoutException(message)
public InvalidPageLayoutException(
    string message
)

Parameters

  • message
    Type: System.String
    The error message that explains the exception.

See Also

Reference

InvalidPageLayoutException Class

InvalidPageLayoutException Members

InvalidPageLayoutException Overload

Microsoft.SharePoint.Publishing Namespace