Share via


InvalidPublishingWebException Class

Indicates the exception that is thrown when a property get, property set, or method related to a PublishingWeb structure fails because the PublishingWeb structure is not valid.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.Publishing.InvalidPublishingWebException

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class InvalidPublishingWebException _
    Inherits ApplicationException
'Usage
Dim instance As InvalidPublishingWebException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class InvalidPublishingWebException : ApplicationException

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

InvalidPublishingWebException Members

Microsoft.SharePoint.Publishing Namespace