Share via


InvalidPublishingWebException Constructor (String)

Initializes a new instance of the InvalidPublishingWebException 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 InvalidPublishingWebException(message)
public InvalidPublishingWebException(
    string message
)

Parameters

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

See Also

Reference

InvalidPublishingWebException Class

InvalidPublishingWebException Members

InvalidPublishingWebException Overload

Microsoft.SharePoint.Publishing Namespace