InvalidPageLayoutException Class
Represents the exception that is thrown when an attempt is made to create an invalid PageLayout object.
Inheritance Hierarchy
System.Object
System.Exception
System.ApplicationException
Microsoft.SharePoint.SPException
Microsoft.SharePoint.Publishing.InvalidPageLayoutException
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class InvalidPageLayoutException _
Inherits SPException
'Usage
Dim instance As InvalidPageLayoutException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class InvalidPageLayoutException : SPException
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.